NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Re: (Score:1)
procmail doesn’t parse your mailbox, it only directs mail that is fed to it to the right place according to its rules. So you have to feed the mails from your inbox to it. This is achieved using
formail -s procmail < /your/mailspool. With-s,formailwill parse its input and invoke the given program for each mail, feeding the mail to the program’s stdin.Re: (Score:1)
Oh! And don’t forget to save the mails from your inbox/spoolfile to another place before you re-filter them, else they’ll show up in your inbox in duplicate. I usually do this simply by
mving my spool out of the way before piping it intoformail(it gets recreated automatically byprocmail).Reply to This
Parent