Probably a dumb question, but...

Could somebody please advise the best method of whitelisting messages from a given 
mailing list?

Users here are occasionally getting incoming mailing list messages flagged because of 
their contents. I'd like to be able to atomatically whitelist those messages to avoid 
this.

I've tried using configuration directives that looked promising, but without much luck:

'whitelist_from' doesn't work because (a) the messages come 'From:' individual 
posters, and (2) the 'Sender:' address (which does reflect the mailing list) isn't in 
the set of headers checked by this directive.

'whitelist_to', when given the mailing list address, only contributed -6. I guess I 
could use all_spam_to, but it starts to look a bit odd given that the mailing list 
address doesn't actually represent a local user.

I could of course just write custom regexp rules that matched the mailing list 
addresses when found in the 'Sender:' header, and give them whacking great negative 
scores, but it seems a bit kludgy. Am I missing an obvious, more orthodox way of doing 
this?

Potentially relevant headers from a typical message follow:

    
    Received: from LISTS.APPLE.COM by [192.168.2.3]
         with ...
    Received: from lists.apple.com (localhost [127.0.0.1])
        by lists.apple.com (8.11.6/8.11.6) with ESMTP id h0V5Js625065;
    ...
    From: "Joe Mailinglistmember" <[EMAIL PROTECTED]>
    To: {some people},
       "Mac OS
      X Server" <[EMAIL PROTECTED]>
    ...
    Subject: Something interesting
    ...
    Sender: [EMAIL PROTECTED]
    Errors-To: [EMAIL PROTECTED]
    X-BeenThere: [EMAIL PROTECTED]
    ...


(None of the other headers that are checked by 'whitelist_from' are present.)
    
    
Cheers,
Robert

-- 
Robert Sinton                  Phone +64 (3) 366-5454
Senior Systems Consultant      Fax +64 (3) 366-4456
MagnumMac Resources Ltd        21-23 Carlyle Street, PO Box 1144, Christchurch

Every gun that is made, every warship launched, every rocket fired signifies, in the 
final sense, a theft from those who hunger and are not fed, those who are cold and are 
not clothed.
-- Dwight D. Eisenhower, U.S. general and 34th president (1890-1969)



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to