From: Gary V <mr8...@gm...> - 2008-03-27 15:11:40
|
On 3/27/08, Miguel wrote: > Hi to all, i got a questiong regarding the spam_lovars_maps static maps, > i undestand that if i want to bypass all spam check for a particular > recipient/domains, i just need to list them in @spam_lovers_maps, > however, i found this tutorial > > http://www200.pair.com/mecham/spam/bypassing.html#9 > > where it says that you have to do it with > > @bypass_spam_checks_maps > > and additional to add them to @spam_lovars_maps > > i just want to do the right thing. > What is the "official", recommended way to do this? > > regards, > With @spam_lovers_maps, the message is still processed by spamassassin and a score is assigned, but the message is passed regardless of the score. With @bypass_spam_checks_maps, the message is usually not processed by spamassassin, so this saves processing power. However, when the message is addressed to multiple recipients, and the recipients disagree whether scanning should occur or not, the message will be scanned. There is the possibility in this case that the recipient(s) in the @bypass_spam_checks_maps will not get a copy of the message. Possibly the best way to set this up so you save as much processing as possible, but still ensure that spam is passed, is to include the recipients in both maps. One other thing to consider however. For any messages that are not scanned by spamassassin, those messages will not included in the messages that are learned by Bayes (assuming autolearn is active). So, you decide. Another thing to consider. Depending on your default kill_level and your quarantine setup, spam that is passed to recipients in @spam_lovers_maps may also have a copy of the message sent to quarantine. Assuming one is using default static lookups, consider also creating a @spam_kill_level_maps where the spam lovers are given a high kill_level (which prevents quarantine), e.g.: @spam_kill_level_maps = ( { 'us...@ex...' => 9999, '.example.com' => 9999 }, # those in @spam_lovers_maps \$sa_kill_level_deflt, # catchall default - everyone not in @spam_lovers_maps ); -- Gary V |