Prev | Current Page 45 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

AliasFile, for example, defines the location of the aliases(5) database.
The lines that begin with M define delivery agents. The lines that begin with a #
are comments.
First we will examine the files in the O option lines. Then we will discuss local delivery
and the files in the M delivery agent lines.
1.6.2 Role in the aliases File
Aliasing is the process of converting one recipient name into another. One use is to
convert a generic name (suchas root) into a real username. Another is to convert one
name into a list of many names (for mailing lists).
Take a few moments to examine your aliases file. Its location is determined by the
AliasFile option in your sendmail.cf file. For example:
O AliasFile=/etc/mail/aliases
Compare what you find in your aliases file to the brief example of an aliases file listed
here:
# Mandatory aliases.
postmaster: bob
MAILER-DAEMON: postmaster
abuse: postmaster
# The five forms of aliases
John_Adams: adamj
xpres: ford,carter,reagan,clinton
oldlist: :include:/usr/local/oldguys
nobody: /dev/null
ftphelp: |/usr/local/bin/sendhelp
Your aliases file is probably far more complex, but even so, note that the example
shows all the possible forms of aliases.
Lines that begin with # are comments. Empty lines are ignored. As the first comment
indicates, three aliases are mandatory in every aliases file.


Pages:
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
wyciągarki miller drzwiowe lampy ogrodowe kierunki studiów