Results 1 to 5 of 5

Thread: Global filters for all users.

  1. #1
    soba@ukw.edu.pl is offline Special Member
    Join Date
    Jul 2011
    Posts
    146
    Rep Power
    3

    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
    Last edited by soba@ukw.edu.pl; 09-03-2011 at 06:25 PM.
    # ZCS 7.1.3 SLES11 SP1

  2. #2
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,292
    Rep Power
    13

    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.

  3. #3
    soba@ukw.edu.pl is offline Special Member
    Join Date
    Jul 2011
    Posts
    146
    Rep Power
    3

    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.
    Last edited by soba@ukw.edu.pl; 09-04-2011 at 02:36 AM.
    # ZCS 7.1.3 SLES11 SP1

  4. #4
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,292
    Rep Power
    13

    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.

  5. #5
    soba@ukw.edu.pl is offline Special Member
    Join Date
    Jul 2011
    Posts
    146
    Rep Power
    3

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Previous mail filters no longer working with new
    By krigg in forum General Questions
    Replies: 0
    Last Post: 07-26-2011, 08:45 AM
  2. restore an user's mail filters
    By abc789 in forum Administrators
    Replies: 2
    Last Post: 01-15-2011, 08:54 PM
  3. Replies: 2
    Last Post: 10-25-2010, 11:59 PM
  4. Users' existing filters are not shown in web GUI
    By syntaxerror in forum Administrators
    Replies: 0
    Last Post: 02-22-2008, 10:33 PM
  5. Cannot view global domain document
    By lilwong in forum Installation
    Replies: 5
    Last Post: 11-19-2007, 01:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •