.procmailrc
#### Begin Variables section ####
# It is essential that you set SHELL to a Bourne-type shell if # external commands are run from your procmailrc, for example if # you use rc.spamassassin, rc.quarantine, or other advanced recipes. # Setting SHELL should not be needed for the simple sorting recipes in # this step-by-step section, but to be safe and to future proof your # procmailrc, set it anyway! Details are in Check Your $SHELL and $PATH. SHELL=/bin/sh #PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
# Directory for storing procmail configuration and log files # You can name this variable anything you like, for # example PROCMAILDIR or don't set it (but then don't refer to it!) PMDIR=$HOME/Procmail
# LOGFILE should be specified ASAP so everything below it is logged # Put ## before LOGFILE if you want no logging (not recommended) LOGFILE=$PMDIR/pmlog
# To insert a blank line between each message's log entry, # uncomment next two lines (this is helpful for debugging) LOG=" "
# Set to yes when debugging; VERBOSE default is no VERBOSE=yes
# Replace $HOME/Msgs with the directory where your personal (non-system-spool) mail
# Mutt and elm use $HOME/Mail
# Pine uses $HOME/mail
# Netscape Messenger uses $HOME/nsmail
# Some NNTP clients, such as slrn & nn, use $HOME/News
# Mailboxes in maildir format or served by Courier IMAP are often in $HOME/Maildir
# Mailboxes served by UW IMAP are sometimes in $HOME
MAILDIR=$HOME/IMAPdir # This directory must exist & be writable by your LOGNAME
#DEFAULT=IN-catchall # On most systems, your $MAILDIR is a sub
# IMPORTANT: Upon reading a line that begins with MAILDIR=
# Procmail does a chdir to $MAILDIR and
# relative paths are relative to $MAILDIR
#### End Variables section; Begin Processing section ####
INCLUDERC=$PMDIR/rc.testing #INCLUDERC=$PMDIR/rc.subscriptions
# Messages that fall through all your procmail recipes are delivered # to your default INBOX. To find out yours, see step 2 above.
#### End Processing section ####
rc.testing
:0 * ^Subject:.*test IN-testing/ #IN-testing #IN-testing/ #IN-testing/. #.IN-testing
pmlog
procmail: [10251] Tue Oct 26 00:11:32 2004
procmail: Assigning "MAILDIR=/home/rmvg/IMAPdir"
procmail: Assigning "INCLUDERC=/home/rmvg/Procmail/rc.testing"
procmail: No match on "^Subject:.*test"
procmail: Bypassed locking "/var/mail/rmvg.lock"
procmail: Assigning "LASTFOLDER=/var/mail/rmvg"
procmail: Opening "/var/mail/rmvg"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "[EMAIL PROTECTED]:/var/mail/rmvg"
From [EMAIL PROTECTED] Tue Oct 26 00:11:32 2004
Subject: procmail final
Folder: /var/mail/rmvg 885
procmail: [10252] Tue Oct 26 00:11:41 2004
procmail: Assigning "MAILDIR=/home/rmvg/IMAPdir"
procmail: Assigning "INCLUDERC=/home/rmvg/Procmail/rc.testing"
procmail: Match on "^Subject:.*test"
procmail: Assigning "LASTFOLDER=IN-testing/new/1098771101.10252_0.v22.computerking.
procmail: Notified comsat: "[EMAIL PROTECTED]:/home/rmvg/IMAPdir/IN-testing/new/1098771101.102
From [EMAIL PROTECTED] Tue Oct 26 00:11:41 2004
Subject: procmail testing
Folder: IN-testing/new/1098771101.10252_0.v22.computerking.ca 848
