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

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 09-03-2011, 02:51 PM
Special Member
 
Posts: 146
Default Global filters for all users.

Can I add a global filters (like *@domain -> Trash folder) for all domain Zimbra users?


I have an external anti-spam solution, which by default can tag messages in the topic - eg [SPAM subjcect] / or definied specjal headers. I want those messages in users to a separate folder, like SPAM folder
__________________
# ZCS 7.1.3 SLES11 SP1

Last edited by soba@ukw.edu.pl; 09-03-2011 at 06:25 PM..
Reply With Quote
  #2 (permalink)  
Old 09-04-2011, 02:13 AM
Moderator
 
Posts: 2,207
Default

Get your ironport to add a new X-Header field when it considers the mail is spam, such as "X-My-Spam-Flag = YES".

Then two other steps are needed.

First one is to get all spams delivered to ZCS' spam folder (no spam discarded). In order to get that, you have to change one line in /opt/zimbra/conf/amavis.conf.in (from D_DISCARD to D_PASS) :
Code:
#$final_spam_destiny = D_DISCARD;
$final_spam_destiny = D_PASS;
Second one is to add a high score to the mails with the X-Header you've defined. That's in /opt/zimbra/conf/salocal.cf.in, you add three lines :
Code:
header SPAM_FRONT X-My-Spam-Flag =~ /^YES$/
describe SPAM_FRONT Spam detected by our front filters
score SPAM_FRONT 50
These two mods won't survive an upgrade, you'll have to do them after each upgrade.
Reply With Quote
  #3 (permalink)  
Old 09-04-2011, 02:29 AM
Special Member
 
Posts: 146
Default

But i dont want enable amavisd on Zimbra server. Amavis take global a lot of memory...

If I run amavisd-new run as the mechanism for Zimbra spam, and do not want to do.
__________________
# ZCS 7.1.3 SLES11 SP1

Last edited by soba@ukw.edu.pl; 09-04-2011 at 02:36 AM..
Reply With Quote
  #4 (permalink)  
Old 09-04-2011, 02:59 AM
Moderator
 
Posts: 2,207
Default

Disable all the other tests (it'll go faster) and use RAM drive for temp folder (much faster, load very lower).

You can also use a multi-servers setup and setup the MTA on dedicated servers/VM.
Reply With Quote
  #5 (permalink)  
Old 09-04-2011, 03:02 AM
Special Member
 
Posts: 146
Default

Quote:
Originally Posted by Klug View Post
Disable all the other tests (it'll go faster) and use RAM drive for temp folder (much faster, load very lower).

You can also use a multi-servers setup and setup the MTA on dedicated servers/VM.
So there is no other option - I need to enable amavisd?

And..
When I run the amavisd that all emails internal users will go through an external SMTP server? This is important because I use external solutions to encrypt and decrypt messages between internal users.


My opinion about this solution:

Amavis takes a lot of system resources (RAM, CPU, IO) for multiple users and generates unnecessary costs associated with server resources for my infrastructure - so I don't buy and create external antispam and antivirus solutions to then run amavisd + spamassassin. It is not cost effective way.
__________________
# ZCS 7.1.3 SLES11 SP1

Last edited by soba@ukw.edu.pl; 09-14-2011 at 04:49 AM..
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.