* John Conover (conover(_at_)rahul(_dot_)net) wrote:
MAILDIR="${HOME}/Maildir"
DEFAULT="new"
LOGFILE="${HOME}/PROCMAIL.LOG"
VERBOSE="on"
LOGABSTRACT="all"
It's simpler than that. You put the destination maildir just
like a mailbox, but with a slash at the end.
This is a small snippet from my .procmailrc:
----------------------
MAILDIR=$HOME/Maildir/
DEFAULT=${MAILDIR}
LOGFILE=$HOME/logs/procmail
# where to send spam
SPAM=$HOME/Maildir/SPAM/
#Processing of mailing lists
:0:
* ^Sender: owner-\/[^(_at_)]+
lists/$MATCH/
-----------------------
And it goes along nicely. If i subscribe to a new mailing list
and it gets processed as such, and it finds that the maildir
to deliver it doesn't exist, it creates it, and delivers the
corresponding mail (with a "lock failure" error on the locks,
but that's fine :) )
---------------------------------------
Jaime Herazo Barrios /"\
jherazo at geocities dot com \ / ASCII Ribbon Campaign
ICQ number: 14721935 X Against HTML Mail,
Yahoo! id: jherazo_1999 / \ and News Too
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail