On 1/21/2010 10:46 PM, Alex wrote: > Hi, > > >> I belong to several mailing lists and newsgroups. Messages from one >> particular list is almost always marked as spam by spamassassin. I've tried >> to whitelist this group but the from header matches the address of the >> original message sender, not the group address. Is there a way to whitelist >> on the List-ID header? >> > Try whitelist_from_rcvd instead: > > http://spamassassin.apache.org/full/3.1.x/doc/Mail_SpamAssassin_Conf.html > > Or create a header rule that subtracts 5 from the mail server for the > mailing list: > > header MY_MAILLIST Received =~ /.mailserver.com/ > > Regards, > Alex > > Alex, if whitelist_from doesn't work, whitelist_from_rcvd won't either. That's *more* restrictive, not less.
Rick, if you've been using "users@spamassassin.apache.org" try using *...@spamassassin.apache.org instead. If you've got envelope FROM headers added (ie: Return-Path), this should match them. The return-path for this list is of the general format: users-return-86375-mkettler_sa=verizon....@spamassassin.apache.org If that doesn't work I really would try to get your system to pass this info into the headers, as several rules can't work properly without it (ie: SPF). MDA layer processing in procmail and the like is rarely a problem, but MTA layer calls often occur before this is added. It is common for MTA layer integration tools to do this for you by adding a dummy Return-Path header, but if you've just added a spamc call directly into one of your MTA's config files, this problem usually shows.