[ILUG] procmail recipes
Darragh Bailey
felix at compsoc.nuigalway.ie
Mon Feb 9 21:59:56 GMT 2004
need a little help with the old procmailrc file
trying to get a recipe working to automatically filter off mails from a
couple of securityfocus.com mailing lists into the same folder
bugtraq, focus-linux & focus-ms
noticed that the mailing lists can be identified using the following
string to match against/
"Delivered-to: mailing list bugtraq at securityfocus.com"
where you can change bugtraq to focus-linux and focus-ms for their mailing
lists as well.
thought that the following receipe should work
:0:
* ^Delivered-to: mailing list bugtraq
securityfocus
securityfocus is the name of the folder there.
would like to get a generic one to do the same for all three but I'd like
to get just the one working first.
To test it out I've been using
cat /var/mail/mymailbox | procmail
to see if it picks up whats currently in my inbox and sorts it out based
on a simple version. using
cat /var/mail/mymailbox | grep -e "^Delivered-to: mailing list bugtraq"
works just fine but the full receipe doesn't appear to. I'm sure its just
something simple I'm missing but I can't quite seem to put my finger on
it.
what really bugs me is that the reciepe for spamassassin marked mail
works perfectly
:0:
* X-Spam-Status: Yes
spam-mailbox
Any suggestions, what the hell am I missing
Darragh
"Nothing's foolproof to a sufficently talented fool"
More information about the ILUG
mailing list