running procmail on the contents of /var/mail/$USER

William O'Higgins william.ohiggins-H217xnMUJC0sA/PxXw9srA at
Wed Jul 28 13:20:30 UTC 2004

I recently had a hardware problem that caused a week's downtime, and
when I first got up and running procmail was not set up, but fetchmail
was.  The result is that I have a few hundred messages in
/var/mail/$USER, none of which have been filtered through procmail,
spamassassin, or razor.  I want to run the whole spoolfile through
procmail, but I can't figure out how.

I was looking at formail, and tried things like "formail +1 -ds
procmail" and "formail -ds < /var/mail/$USER > procmail", but that
didn't work.  Does anyone know the syntax of this kind of thing?



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <>

More information about the Legacy mailing list