9srv Manual Collection/plan9/mail(1) | 9srv Manual Collection/plan9/mail(1) |
---|
go.fishing
Incoming mail for a user username is put in the file /mail/box/username/mbox unless either the file /mail/box/username/forward or /mail/box/username/pipeto exists. The mailbox must have append-only and exclusive-access mode (see chmod(1)). A user must create his or her own mailbox using the -c option of nedmail(1). Mailboxes are created writable (append-only) but not readable by others.
If the file /mail/box/username/forward exists and is readable by everyone, incoming mail will be forwarded to the addresses contained in the first line of the file. The file may contain multiple addresses. Forwarding loops are caught and resolved by local delivery.
If the file /mail/box/username/pipeto exists and is readable and executable by everyone, it will be run for each incoming message for the user. The message will be piped to it rather than appended to his/her mail box. The file is run as user none. Its two arguments are the with arguments of the destination address (e.g., local!gremlin) and the user's mail box path (e.g., /mail/box/gremlin/mbox)
If /mail/box/$user/gone.msg exists, it will be sent (just once) to everyone who sends you mail that lists your address in a To or Cc header; if not, /mail/lib/gone.msg will be sent. Upon your return, remove /mail/box/$user/gone.fishing to stop automatic responses.
9srv Manual Collection/plan9/mail(1) | Rev: Thu May 28 02:10:03 BST 2009 |