Results 1 to 8 of 8

Thread: Configure Zimbra to never discard spam messages

  1. #1
    hgdeoro is offline Junior Member
    Join Date
    Jul 2012
    Posts
    5
    Rep Power
    2

    Default Configure Zimbra to never discard spam messages

    I'm trying to make Zimbra (v7.1.2) to NOT discard spam. Reading the administrator guide, I found this is expected to happen:

    "Anti-spam Settings: (...) Any message tagged between 33%-75% is considered spam and delivered to the userís junk folder. Messages tagged above 75% are always considered spam and discarded."

    I'm making some tests, and spam messages that I send dissapear. I don't know if they dissaper because they are discarded (tagged above 75%) or if something isn't working.

    How can I configure Zimbra to NEVER discard messages? I need this to tests, and as a policy, since we need to keep ALL messages, even spam.

    Thanks in advance!
    Horacio

  2. #2
    jonallport's Avatar
    jonallport is offline Special Member
    Join Date
    Jul 2008
    Location
    UK
    Posts
    171
    Rep Power
    6

    Default

    In 6.0.16 it's on the admin console: Global Settings, AS/AV, set 'Kill percentage' to 100

    I assume there's a similar setting for 7.x

  3. #3
    hgdeoro is offline Junior Member
    Join Date
    Jul 2012
    Posts
    5
    Rep Power
    2

    Default

    Quote Originally Posted by jonallport View Post
    I assume there's a similar setting for 7.x
    [EDITED]

    Thankyou for your response. After setting "kill percent" the spam started to go to "Junk" folder. The first time I try didn't worked because I forgot to deete a whitelist from salocal.cf.in. Now it's working ok!

    Thanks a lot!
    Horacio
    Last edited by hgdeoro; 07-04-2012 at 10:42 AM.

  4. #4
    hgdeoro is offline Junior Member
    Join Date
    Jul 2012
    Posts
    5
    Rep Power
    2

    Default

    I've run some tests with different configurations. After changing the configuration, and before the next test, a full restart of Zimbra was done.

    So, as the result of my tests, I can say that setting "Kill Percent: 100" doesn't guarantee that the messages will not be discarded. I don't know if this behavior (messages been discarded regardless of "Kill Percent"):
    a) is a bug
    b) there is no support for this, and some spam are discarded regardless of any configuration
    c) or maybe there is some other way to achieve this

    Any though on this?

    Thanks in advance!
    Horacio




    1st test

    salocal.cf.in

    body LOCAL_RULE /sale/
    score LOCAL_RULE 30

    Global Settings -> AS/AV -> Spam Checking Settings

    Kill Percent: 100
    Tag Percent: 5
    Subject Prefix: *** SPAM ***

    Result of testing
    non-spam message -> to Junk folder -> OK (because Tag Percent: 5)
    spam message (with 'sale' on body) -> message disappear -> BAD

    2nd test -> change tag percent to '50'

    salocal.cf.in

    body LOCAL_RULE /sale/
    score LOCAL_RULE 30

    Global Settings -> AS/AV -> Spam Checking Settings

    Kill Percent: 100
    Tag Percent: 50
    Subject Prefix: *** SPAM ***

    Result of testing
    non-spam message -> to Inbox -> OK
    spam message (with 'sale' on body) -> disappear -> BAD

    3rd test -> change LOCAL_RULE to 5

    salocal.cf.in

    body LOCAL_RULE /sale/
    score LOCAL_RULE 5

    Global Settings -> AS/AV -> Spam Checking Settings

    Kill Percent: 100
    Tag Percent: 50
    Subject Prefix: *** SPAM ***

    Result of testing
    non-spam message -> to Inbox -> OK
    spam message (with 'sale' on body) -> to Inbox - not detected as SPAM


    4th test -> change tag percent to 33

    salocal.cf.in

    body LOCAL_RULE /sale/
    score LOCAL_RULE 5

    Global Settings -> AS/AV -> Spam Checking Settings

    Kill Percent: 100
    Tag Percent: 33
    Subject Prefix: *** SPAM ***

    Result of testing
    non-spam message -> to Inbox -> OK
    spam message (with 'sale' on body) -> to Junk -> OK

  5. #5
    hgdeoro is offline Junior Member
    Join Date
    Jul 2012
    Posts
    5
    Rep Power
    2

    Default

    I finally could make it work! Now Zimbra doesn't drop any message.

    The solution was edit amavisd.conf.in and:

    1) remove or comment the line:
    $sa_kill_level_deflt = %%range VAR:zimbraSpamKillPercent 0 20%%;

    2) insert:
    $sa_kill_level_deflt = 9999;

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

    Default

    Would you try something else?
    You don't need to touch/modify SA rules or scoring with this solution.

    Modify /opt/zimbra/conf/amavisd.conf.in
    Replace
    Code:
    $final_spam_destiny       = D_DISCARD;
    By
    Code:
    $final_spam_destiny       = D_PASS;
    Restart what is needed (su - zimbra ; zmamavisdctl restart).

  7. #7
    hgdeoro is offline Junior Member
    Join Date
    Jul 2012
    Posts
    5
    Rep Power
    2

    Default

    Quote Originally Posted by Klug View Post
    Would you try something else?
    You don't need to touch/modify SA rules or scoring with this solution.

    Modify /opt/zimbra/conf/amavisd.conf.in
    Replace
    Code:
    $final_spam_destiny       = D_DISCARD;
    By
    Code:
    $final_spam_destiny       = D_PASS;
    Restart what is needed (su - zimbra ; zmamavisdctl restart).

    It worked! And I like this solution more than mine. Thank you very much!!!

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

    Default

    Glad it helps.
    Don't forget you'll have to do this again each time you upgrade ZCS.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Discard encrypted messages
    By samesisa in forum Administrators
    Replies: 4
    Last Post: 05-07-2012, 01:08 AM
  2. Replies: 4
    Last Post: 01-24-2012, 12:58 AM
  3. Zimbra server sends out spam messages
    By skuran in forum Administrators
    Replies: 1
    Last Post: 09-23-2011, 04:45 AM
  4. how to block spam messages to zimbra 6.6
    By sathiz_t in forum Administrators
    Replies: 2
    Last Post: 09-03-2010, 06:50 AM
  5. Replies: 1
    Last Post: 08-28-2009, 02:32 AM

Tags for this Thread

Posting Permissions

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