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"
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!