This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorials:procmail [2011/04/30 13:26] – created clemens | tutorials:procmail [2011/04/30 13:27] (current) – clemens | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Procmail on SDF... ===== | ===== Procmail on SDF... ===== | ||
- | First, see the [[http:// | + | First, see the [[faq:EMAIL14|FAQ Email 14]] |
- | + | ||
- | SDF receives mail for user from remote sender | + | |
- | | + | |
- | if .forward calls procmail, then the MDA pipes the mail to procmail for filtering, with $HOME/ | + | |
- | | + | |
- | Best practice is for procmail filtering destinations to be local to where procmail is running, in $MAILDIR. | + | |
- | | + | |
- | User clients (i.e. mail, mutt, alpine, etc.) may read mail from $MAIL, and from $MAILDIR files, across the NFS wire to the $HOME machine for reading. | + | |
- | The local client may then store the mail locally in $HOME or back on the mail machine in $MAILDIR | + | |
+ | - SDF receives mail for user from remote sender | ||
+ | - SDF's local mail delivery agent (MDA) consults $HOME/ | ||
+ | - if .forward calls procmail, then the MDA pipes the mail to procmail for filtering, with $HOME/ | ||
+ | - Procmail runs on the mail machine for which $MAILDIR (/ | ||
+ | - Best practice is for procmail filtering destinations to be local to where procmail is running, in $MAILDIR. | ||
+ | - Unfiltered mail is then returned by procmail to the MDA which deposits it in $MAIL, also local to the mail machine, and is the users INBOX | ||
+ | - User clients (i.e. mail, mutt, alpine, etc.) may read mail from $MAIL, and from $MAILDIR files, across the NFS wire to the $HOME machine for reading. | ||
+ | - The local client may then store the mail locally in $HOME or back on the mail machine in $MAILDIR | ||
+ | \\ | ||
For procmail utilization ideas, see the [[tutorials: | For procmail utilization ideas, see the [[tutorials: |