Forms of Alias Delivery
Addresses in the righthand side of an alias entry can take four forms:
LHS: user LHS: /file LHS: |program LHS: :include: file
The user
specifies final delivery
to a user’s mail spool file (subject to change by the user’s
~/.forward file), or delivery
to a new address (e.g., newuser or
user@newsite). The
/file
specifies delivery
by appending to a file. The |
program
specifies delivery by piping the message through a program.
The :include
: specifies
processing of a mailing list. The first three are covered
here. The last is covered in the next chapter.
These righthand sides can be combined on a single line, where one is separated from another by a comma. For example:
LHS: user,/file
Get sendmail, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.