I was recently attempting to figure out how to whitelist a specific sever by host or IP, because certain auto-generated mails were getting flagged as spam. I could not find the solution, but I found a discussion in a SA mailing list, so I contacted the sender (Scott Henderson), who provided me with the following solution. As per his suggestion, I am posting to the list so that it will be in the archives...
Please correct any mistakes. # Example of whitelisting a mail server by IP address 12.34.56.78: # # header OUR_WEBSERVER Received =~ /12\.34\.56\.78/ # describe OUR_WEBSERVER our webserver, which sends in only good mail... # score OUR_WEBSERVER -100 # # Example of whitelisting a mail server by name (e.g. contains "corp.com"): # # CORP's mail server # # header CORP_SERVER_WHITELISTED Received =~ /\.corp\.com/ # describe CORP_SERVER_WHITELISTED don't scan mail from *.corp.com # score CORP_SERVER_WHITELISTED -100 Regards, Eric Bellotti ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk