Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-29-2008, 05:23 PM
New Member
 
Posts: 4
Default [SOLVED] Bypassing Antispam/Antivirus for one user

Hello,

I need to turn off antispam for a specific user (If possible just the antispam, but as I need to solve this matter with urgency, I'm accepting a temporary solution with some way to turn off both, as long it works per-user). There is some easy way to archieve it?

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 04-30-2008, 08:03 AM
Moderator
 
Posts: 1,027
Default

You might check out this wiki section which allows per-user whitelisting. I believe that the instructions on "spamlover accounts" would accomplish your goal.
__________________
Cheers,

Dan
Reply With Quote
  #3 (permalink)  
Old 04-30-2008, 08:36 AM
New Member
 
Posts: 4
Default

Thanks for the answer, but I think this won't help me much.

Let me explain it better:

My client send a newsletter (spam), and of course there are lots of bounces. All these bounces goes through amavis and because of that the server is under strong stress (Yesterday my queue had 24k messages). I need to completely disable the antispam for it. This solutions lowers the score, but the message is still processed by spamassassin, what takes a good load of cpu. On normal postfix+amavis setup i would use @bypass_spam_checks, but apparently its not working. I've checked the amavisd version that comes with zimbra and maybe something like bypass_spam_checks_maps? How can I configure it?

Thanks!
Reply With Quote
  #4 (permalink)  
Old 04-30-2008, 03:04 PM
New Member
 
Posts: 4
Default

Ok! Found a solution:

Actually i found this wiki page.

Although the solution is IP-based I changed it to a user-based with some little tweaks:

On postfix_recipient_restrictions:
check_recipient_access pcre:/opt/zimbra/postfix/conf/no_filter

On /opt/zimbra/postfix/conf/no_filter
/^user\@domain\.com$/ FILTER smtp:[127.0.0.1]:10026

On /opt/zimbra/conf/amavisd.conf.in
$inet_socket_port = [10024, 10026]; # change from original setting
$interface_policy{'10026'} = 'DOMAINWHITELIST';
$policy_bank{'DOMAINWHITELIST'} = {
bypass_spam_checks_maps => [1],
final_spam_destiny => D_PASS,
};

Then restarted amavis and postfix.

Now its works.

Thanks!
Reply With Quote
  #5 (permalink)  
Old 04-30-2008, 03:15 PM
Moderator
 
Posts: 1,027
Default

Quote:
Originally Posted by tenchimuyou View Post
Ok! Found a solution
Now its works.
Great! I'll mark this thread solved.

Meanwhile, remember that any changes you make to ANY of the config files will be wiped out every time you do an upgrade, so be prepared to back up and restore them whenever you do one. Since other (necessary) changes might also be made in later versions, it's probably wiser to plan to re-edit the new files on an upgraded version rather than to backup and restore the same old file.
__________________
Cheers,

Dan
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.