164 lines · 3.1 KB · Text
RawDownload
.TH MAIL 1.SH NAMEmail, go.fishing \- mail and mailboxes.SH SYNOPSIS.B mail[.I arg ...].PP.B go.fishing.SH DESCRIPTION.PPMail is a shell script that invokes.IR nedmail (1),the mail reader,when no recipients appear on the command line and.IR marshal (1),the mail preparer,otherwise.All command line options are passed through.See the man pages for those two commands formore details..PPIncoming mail for a user.I usernameis put in the file.BI /mail/box/ username /mboxunless either the file.BI /mail/box/ username /forwardor.BI /mail/box/ username /pipetoexists.The mailbox must have append-only and exclusive-access mode(see.IR chmod (1)).A user must create his or her own mailbox using the.B -coption of.IR nedmail (1).Mailboxes are created writable (append-only) but not readable by others..PPIf the file.BI /mail/box/ username /forwardexists and is readable by everyone, incoming mailwill 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..PPIf the file.BI /mail/box/ username /pipetoexists 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 ratherthan appended to his/her mail box.The file is run as user.BR none .Its two arguments are the with arguments of the destination address(e.g.,.BR local!gremlin )and the user's mail box path(e.g.,.BR /mail/box/gremlin/mbox ).SS Auto-answer.PPTo use .I mailas an answering machine while you are away,run.IR go.fishing ,which will create.B /mail/box/$user/gone.fishingas a flag for.B pipetoprocessing,and truncate.BR /mail/box/$user/gone.addrs .Any existing.B pipetofile that uses.B /mail/lib/pipeto.libwill invoke the.I gone.fishingmachinery when it calls.B spoolor.BR spool-tagged-spam ..PPIf.B /mail/box/$user/gone.msgexists, itwill be sent (just once) to everyone whosends you mail that lists your address in a.L Toor.L Ccheader;if not,.B /mail/lib/gone.msgwill be sent.Upon your return, remove.B /mail/box/$user/gone.fishingto stop automatic responses..SH FILES.TF /mail/box/$user/gone.fishing.TP.B /sys/log/mailmail log file.TP.B /mail/box/*mail directories.TP.B /mail/box/*/mboxmailbox files.TP.B /mail/box/*/forwardforwarding address(es).TP.B /mail/box/*/pipetomail filter.TP.B /mail/box/*/L.readingmutual exclusion lock for multiple mbox readers.TP.B /mail/box/*/L.mboxmutual exclusion lock for altering mbox.TP.B /lib/face/48x48x?directories of icons for.I seemail.TP.B /mail/lib/pipeto.libhelper functions for pipeto files.TP.B /mail/lib/gone.msgdefault vacation message.TP.B /mail/lib/gone.fishingauto-responder as.I pipetoscript.TP.B /mail/box/$user/gone.fishingflag to active gone processing.TP.B /mail/box/$user/gone.addrslist of senders answered by.I gone.fishing.SH SOURCE.B /rc/bin/mail.br.B /rc/bin/go.fishing.SH "SEE ALSO".IR aliasmail (8),.IR faces (1),.IR filter (1),.IR marshal (1),.IR mlmgr (1),.IR nedmail (1),.IR qer (8),.IR rewrite (6),.IR send (8),.IR smtp (8),.IR upasfs (4)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t