This is a discussion on Re: [AMaViS-user] Skip spam scanning for one user within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Randy wrote: > Hi, > I'm trying to configure our amavis-new/spamassassin/postfix setup to skip > scanning ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Randy wrote:
> Hi, > I'm trying to configure our amavis-new/spamassassin/postfix setup to skip > scanning of mails directed to one particular user. Currently, I am set up > to scan, tag (if evaluated as spam), and deliver all mail (deletion or > quarantine of even one false positive is not acceptable). However, this one > user (who has several email accounts), would like to use his own anti-spam > solution in his email client. Everyone else is finding the system adequate, > but he would prefer to have nothing scanned or tagged before delivery to his > inbox. > I tried using @bypass_spam_checks_maps with just his email addresses, but > then everyone in the domain was getting bypassed. You have to be careful getting the syntax correct. You may have done something like: @bypass_spam_checks_maps = ( "user\@$mydomain" ); which I think ends up looking like: @bypass_spam_checks_maps = (1); to Perl. > The documentation seems > to indicate the setting him as a spam lover will still tag his mail, which > is not acceptible. I could set a user specific rule that adds -10000 to all > his spam scores from any source, but that seems like a real kluge. Any > opinions? > Thanks, > Randy I come up with: @bypass_spam_checks_maps = ( ['user@example.com', 'user2@example.com'] ); @spam_lovers_maps = ( ['user@example.com', 'user2@example.com'] ); @spam_tag_level_maps = ( { 'user@example.com' => 9999.0, 'user2@example.com' => 9999.0 }, \$sa_tag_level_deflt, # catchall default ); @spam_tag2_level_maps = ( { 'user@example.com' => 9999.0, 'user2@example.com' => 9999.0 }, \$sa_tag2_level_deflt, # catchall default ); @spam_kill_level_maps = ( { 'user@example.com' => 9999.0, 'user2@example.com' => 9999.0 }, \$sa_kill_level_deflt, # catchall default ); Gary V ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|