PMDF System Manager's Guide


Previous Next Contents Index

17.3.1 The .forward File

The format for the .forward file is one or more lines, each line containing one or more comma-separated recipient entries. A recipient entry can take the following forms. When executing certain actions of a user's .forward actions, the l channel becomes that user, referred to below as current-user.

Example 17-1 shows a sample .forward file for a user jdoe who wants one copy of his messages delivered normally, one copy sent to another of his accounts, one copy sent to his pager, one copy filed in the file thismonthsmailarchive, and also wants to pipe the message through the procmail utility.

Example 17-1 Sample .forward File for User John.Doe

\jdoe, John.Doe@system2.example.com, John.Doe@pager.example.com 
/usr/users/jdoe/thismonthsmailarchive 
"|/usr/bin/procmail jdoe" 

The RECIPIENT environment variable is available for use in .forward files; it specifies the envelope recipient of the message.


Previous Next Contents Index