email forwarding information file
Users may put a
file in their home
directory. If this file exists,
forwards email to the
destinations specified therein.
file contains a list of expansion
values, as described in
. Each expansion
value should be on a line by itself. However, the
mechanism differs from the aliases
mechanism in that it disallows file inclusion (:include:) and it performs
expansion under the user ID of the
Permissions on the
file are very
strict and expansion is rejected if the file is group or world-writable; if
the home directory is group writeable; or if the file is not owned by the
Users should avoid editing directly the
file to prevent delivery failures
from occurring if a message arrives while the file is not fully written. The
best option is to use a temporary file and use the
command to atomically
overwrite the former
Alternatively, setting the
bit on the home
directory will cause the
return a temporary failure, causing mails to be deferred.
- Email forwarding information.
The following file forwards mail to “firstname.lastname@example.org”, and pipes
the same mail to “examplemda”.
# empty lines are ignored
email@example.com # anything after # is ignored