Go to TogaWare.com Home Page.
GNU/Linux Desktop Survival Guide
by Graham Williams

Procmail Variables

A .procmailrc might start with some variables being defined:

LOGFILE=$MAILDIR/procmail.`date +%Y.%m`.log

Here, PATH and SHELL are pretty standard for such a file. MAILDIR defines the default location for procmail paths (other procmail paths are then relative to this PROCMAIL). The DEFAULT mailbox is then specified, identifying where email will be stored (using the Maildir format here rather than the common GNU/Linux mbox format). Finally, we identify where the log file containing a log of each email messages and procmail's handling of it should be located.

Copyright © 1995-2006 [email protected]
Contribue and access the PDF Version