Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Procmail Variables


A .procmailrc might start with some variables being defined:

PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin
SHELL=/bin/sh
MAILDIR=$HOME/Maildir
DEFAULT=$MAILDIR/
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]

 
 
  Published under the terms fo the GNU General Public License Design by Interspire