Results 1 to 5 of 5

Thread: Customized spam filter?

  1. #1
    Join Date
    Sep 2009
    Location
    Novo Hamburgo, RS, Brasil
    Posts
    2
    Rep Power
    6

    Question Customized spam filter?

    Hello.
    We got a web based server and almost 400 web-client mailboxes running. The spam kill/tag rate is ok and all... but, we have one user - coincidentally the company owner - that wants to do his own sorting of spam.
    I wonder if there is a way we can customize spam filter only for his mailbox, so he doesn't have to obey the kill/tag rule?
    Thanks a lot!

  2. #2
    Join Date
    Sep 2009
    Location
    Novo Hamburgo, RS, Brasil
    Posts
    2
    Rep Power
    6

    Default

    anyone? please...

  3. #3
    Join Date
    Dec 2007
    Location
    Missouri
    Posts
    30
    Rep Power
    7

    Default

    Zimbra doesn't support this directly, though they did add support for per-user white/blacklists in 6.0.

    We added a customized spam filter (per-user whitelist/blacklist, kill threshold, tag threshold) using Amavis's built-in support for storing user preferences in MySQL. You can store site-wide defaults, domain defaults, and individual user settings in MySQL. It just takes a simple addition to /opt/zimbra/conf/amavisd.conf.in to enable it (@lookup_sql_dsn directive), but you also need to write an interface so users can change their preferences. We did it with a Zimlet, but could be an external web site too.

    These links have more information on Amavis's MySQL support:

    http://www.ijs.si/software/amavisd/README.sql.txt
    http://www.ijs.si/software/amavisd/README.sql-mysql.txt

    Ron

  4. #4
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    10

    Default

    It's interesting you implemented this in Mysql and even wrote a zimlet to manage it. All of the amavis attributes are supported on a per account limit (ZCS 5/6) and domain (ZCS 6) levels.

    ZCS 6.0 added webclient preferences to manage the per user white/black lists directly but the admins can modify any of the attributes.

    krag_maga: you can set kill/tag levels per user via zmprov

    Code:
    zmprov ma account@domain.tld amavisSpamKillLevel 3.5
     or to bypass completely
    zmprov ma account@domain.tld amavisBypassSpamChecks TRUE
    Bugzilla - Wiki - Downloads - Before posting... Search!

  5. #5
    Join Date
    Dec 2007
    Location
    Missouri
    Posts
    30
    Rep Power
    7

    Default

    zmprov ma account@domain.tld amavisSpamKillLevel 3.5
    or to bypass completely
    zmprov ma account@domain.tld amavisBypassSpamChecks TRUE
    This would have been nice to know last year when we first started hosting Zimbra!

    krav_maga, you might find this particular thread helpful:

    http://www.zimbra.com/forums/adminis...filtering.html

    Specifically, the list of available amavis attributes is in:

    /opt/zimbra/conf/attrs/amavisd-new-attrs.xml

    In any case, it isn't accessible to the end user, except for the whitelist/blacklist in 6.0, so writing the Zimlet and replacing the line in amavisd.conf.in after upgrades was well worth it. Now that I know these attributes are available via SOAP we may have to consider moving away from the MySQL version.

Similar Threads

  1. Registration blocked by Yahoo spam filter
    By mark_the_chain in forum /etc
    Replies: 0
    Last Post: 11-23-2008, 04:15 PM
  2. messages marked as spam not training filter?
    By xtremetoonz in forum Installation
    Replies: 1
    Last Post: 11-08-2008, 06:21 AM
  3. FILTER SPAM BY Keywords How to it ?
    By DEALER in forum Administrators
    Replies: 2
    Last Post: 03-19-2008, 06:31 AM
  4. Trying to understand Zimbra's anti-spam system
    By TaskMaster in forum Users
    Replies: 11
    Last Post: 01-25-2008, 09:59 AM
  5. Spam Filter works and then stops
    By Billy in forum Administrators
    Replies: 2
    Last Post: 12-01-2006, 05:00 PM

Posting Permissions

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