running procmail on the contents of /var/mail/$USER
opengeometry-FFYn/CNdgSA at public.gmane.org
Wed Jul 28 17:41:33 UTC 2004
On Wed, Jul 28, 2004 at 09:20:30AM -0400, William O'Higgins wrote:
> 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?
didn't work? More description would help here.
mv /var/mail/user tmp
formail -s procmail < tmp
William Park, Open Geometry Consulting, <opengeometry-FFYn/CNdgSA at public.gmane.org>
Toronto, Ontario, Canada
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy