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


------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to