PMDF User's Guide
UNIX Edition


Previous Contents Index

2.1 The .forward File

PMDF normally looks for your .forward file in your home directory. However, your PMDF system manager may have chosen to configure PMDF to look in a different location for user .forward files; check with your PMDF system manager if you have any question about where your .forward file should reside.

The format for a .forward file is one or more lines, each line containing one or more comma-separated recipient entries. A recipient entry may take the following forms.

Lines beginning with an exclamation point character, ! , are considered to be comment lines.

Note that when executing certain actions of your .forward file, PMDF becomes you. In particular, any scripts executed by your .forward file will be executed as you, with your access and privileges.

Example 2-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 2-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" 


Previous Next Contents Index