Seth Woolley's Man Viewer

aliases(5) - aliases - aliases file for sendmail - man 5 aliases

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

ALIASES(5)                                                          ALIASES(5)

       aliases - aliases file(1,n) for sendmail(1,8)


       This file(1,n) describes user ID aliases used by sendmail.  The file(1,n) resides
       in(1,8) /etc/mail(1,8) and is formatted as a series of lines of the form

              name: addr_1, addr_2, addr_3, . . .

       The name is the name to alias, and the addr_n are the aliases for  that
       name.  addr_n can be another alias, a local username, a local filename,
       a command, an include file(1,n), or an external address.

       Local Username

              The username must be available via getpwnam(3).

       Local Filename

              Messages are appended to the file(1,n) specified by the full pathname
              (starting with a slash (/))


              A  command  starts  with a pipe(2,8) symbol (|), it receives messages
              via standard input.

       Include File
              :include: /path/name

              The aliases in(1,8) pathname are added to the aliases for name.

       E-Mail Address

              An e-mail address in(1,8) RFC 822 format.

       Lines beginning with white space are continuation lines.   Another  way
       to  continue lines is by placing a backslash directly before a newline.
       Lines beginning with # are comments.

       Aliasing occurs only on local names.  Loops can  not  occur,  since  no
       message will be sent to any person more than once.

       If  an  alias  is found for name, sendmail(1,8) then checks for an alias for
       owner-name.  If it is found and the result of the lookup expands  to  a
       single address, the envelope sender address of the message is rewritten
       to that address.  If it is found and the result expands  to  more  than
       one address, the envelope sender address is changed to owner-name.

       After  aliasing  has  been  done, local and valid recipients who have a
       ``.forward'' file(1,n) in(1,8) their home directory have  messages  forwarded  to
       the list of users(1,5) defined in(1,8) that file.

       This  is  only  the  raw(3x,7,8,3x cbreak)  data file(1,n); the actual aliasing information is
       placed into a binary format in(1,8) the file(1,n) /etc/mail(1,8)/aliases.db using  the
       program  newaliases(1).   A  newaliases command should be executed each
       time(1,2,n) the aliases file(1,n) is changed for the change to take effect.

       newaliases(1), dbm(3), dbopen(3), db_open(3), sendmail(1,8)(8)

       SENDMAIL Installation and Operation Guide.

       SENDMAIL An Internetwork Mail Router.

       If you have compiled sendmail(1,8) with DBM support instead  of  NEWDB,  you
       may  have  encountered problems in(1,8) dbm(3) restricting a single alias to
       about 1000 bytes  of  information.   You  can  get  longer  aliases  by
       ``chaining'';  that is, make the last name in(1,8) the alias be a dummy name
       which is a continuation alias.

       The aliases file(1,n) format appeared in(1,8) 4.0BSD.

                         $Date: 2004/07/12 05:39:21 $               ALIASES(5)

References for this manual (incoming links)