contents
Next: Alias Files Up: Delivering Messages to Local Previous: Local Users

Forwarding

A user may redirect her mail by having it forwarded to an alternative address using one of two methods supported by smail. One option is to put
           Forward to recipient,...
in the first line of her mailbox file. This will send all incoming mail to the specified list of recipients. Alternatively, she might create a .forward file in her home directory, which contains the comma-separated list of recipients. With this variety of forwarding, all lines of the file are read and interpreted.

Note that any type of address may be used. Thus, a practical example of a .forward file for vacations might be

           janet, "|vacation"
The first address delivers the incoming message to janet's mailbox nevertheless, while the vacation command returns a short notification to the sender.



Andrew Anderson
Thu Mar 7 23:22:06 EST 1996