[Mailman-Users] mailman and spamassassin
Dave Stern - Former Rocket Scientist
dave at umiacs.umd.edu
Wed Feb 26 19:17:16 CET 2003
Seeing how others have asked about this, I've gotten an older version of
mailman (2.0.12) and spamassassin (2.1) working together. Let's say
the list in question is called mylist
- add to you aliases file
mylist: "/usr/local/bin/procmail -m /etc/procmailrc"
- /etc/procmail include things like
:0fw
| /etc/SpamAssassin/spamassassin -P -c /etc/SpamAssassin/rules
:0:
* ^X-Spam-Status: Yes
/tmp/Likelyspam
:0:
|/etc/mailman/mail/wrapper post mylist
Now it would be nice if the /etc/procmailrc file could be universal for all
lists. Anyone know how to set a variable to fighure out from which list
the message was coming? (worst case scenario, I'll have to write up a
procmail rule to parse the "^To:" address but I was wondering if there's
an easier way?
Thanks
=-=-=-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
David Stern University of Maryland
Institute for Advanced Computer Studies
More information about the Mailman-Users
mailing list