User Tools

Site Tools


procmail_on_sdf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
procmail_on_sdf [2021/03/22 04:48] – created hc9procmail_on_sdf [2024/09/16 06:46] (current) – … hc9
Line 1: Line 1:
-===== Procmail on SDF... =====+===== Procmail on SDF… =====
  
-First, see the [[http://sdf.lonestar.org/index.cgi?faq?EMAIL?14|FAQ Email 14]]+First, see the [[http://sdf.org/index.cgi?faq?EMAIL?14|FAQ Email 14]], but note that on the MetaArray, a .forward is not needed - the mail server on ma enables procmail processing for all users with a .procmailrc in their home directory.
  
   * SDF receives mail for user from remote sender   * SDF receives mail for user from remote sender
   * SDF's local mail delivery agent (MDA) consults $HOME/.forward   * SDF's local mail delivery agent (MDA) consults $HOME/.forward
   * if .forward calls procmail, then the MDA pipes the mail to procmail for filtering, with $HOME/.procmailrc   * if .forward calls procmail, then the MDA pipes the mail to procmail for filtering, with $HOME/.procmailrc
-  * Procmail runs on the mail machine for which $MAILDIR (/mail/maildir/...) is local (not across the NFS (network file system) wire.+  * Procmail runs on the mail machine for which $MAILDIR (/mail/maildir/) is local (not across the NFS (network file system) wire.
   * Best practice is for procmail filtering destinations to be local to where procmail is running, in $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   * 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
Line 12: Line 12:
   * The local client may then store the mail locally in $HOME or back on the mail machine in $MAILDIR   * 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 [[email_advanced|"Email, Advanced Topics" tutorial]]+For procmail utilization ideas, see the [[email_advanced|Email, Advanced Topics]] tutorial.
  
 ---- ----
procmail_on_sdf.1616388510.txt.gz · Last modified: 2021/03/22 04:48 by hc9