OpenSuSE Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
x SuSE Linux 13.1-RELEASE x
x SuSE Linux 13.1-RELEASEx
ALIASES(5)                    File Formats Manual                   ALIASES(5)

1mNAME0m
       aliases - aliases file for sendmail

1mSYNOPSIS0m
       1maliases0m

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

              name: addr_1, addr_2, addr_3, . . .

       The 4mname24m is the name to alias, and the 4maddr_n24m are the aliases for  that
       name.  4maddr_n24m can be another alias, a local username, a local filename,
       a command, an include file, or an external address.

       1mLocal Username0m
              username

              The username must be available via getpwnam(3).

       1mLocal Filename0m
              /path/name

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

       1mCommand0m
              |command

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

       1mInclude File0m
              :include: /path/name

              The aliases in pathname are added to the aliases for 4mname.0m

       1mE-Mail Address0m
              user@domain

              An e-mail address in 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 4mname24m, sendmail then checks for an alias for
       4mowner-name24m.  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 4mowner-name24m.

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

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

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

       4mSENDMAIL24m 4mInstallation24m 4mand24m 4mOperation24m 4mGuide.0m

       4mSENDMAIL24m 4mAn24m 4mInternetwork24m 4mMail24m 4mRouter.0m

1mBUGS0m
       If you have compiled sendmail with DBM support instead  of  NEWDB,  you
       may  have  encountered problems in 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 the alias be a dummy name
       which is a continuation alias.

1mHISTORY0m
       The 1maliases 22mfile format appeared in 4.0BSD.

                         $Date: 2013-11-22 20:51:55 $               ALIASES(5)

Want to link to this manual page? Use this URL:
<
http://star2.abcm.com/cgi-bin/bsdi-man?query=ALIASES&sektion=5&manpath=>

home | help