Sendmail Operation Guide

Per-user forwarding (.forward files)

As an alternative to the alias database, any user may put a file with the name .forward in his or her home directory. If this file exists, sendmail(1M) redirects mail for that user to the list of addresses listed in the .forward file. For example, if the home directory for user george has a .forward file with contents:

   george@ernie
   kirk@calder
then any mail arriving for george will be redirected to the specified accounts.

The configuration file defines a sequence of filenames to check. By default, this is the user's .forward file, but can be defined to be more generally using the ForwardPath option. If you change this, you will have to inform your user base of the change; .forward is pretty well incorporated into the collective subconscious.


© 2000 The Santa Cruz Operation, Inc. All rights reserved.