Results 1 to 10 of 10

Thread: [SOLVED] How to tell Zimbra that mail from certain address is NOT junk

Hybrid View

  1. #1
    Join Date
    Jul 2010
    Posts
    46
    Rep Power
    5

    Default [SOLVED] How to tell Zimbra that mail from certain address is NOT junk

    We have migrated from exchange/outlook to zimbra and got stucked by this problem about junk mail.
    Mails from certain addresess (quite few of them) are beenig constantly thrown in to junk folder.
    How to tell Zimbra not to do this. I tried with mail rules but it doesn't working.

    We are using Zimbra 5.0.X.
    Thanks for any help.

  2. #2
    Join Date
    Sep 2007
    Posts
    186
    Rep Power
    8

    Default

    Best thing to do is look at which spamassassin rules are getting triggered. From the web-client, right-click on the false positive, and select 'show original'. Have a look at the 'X-Spam-Status' line.

  3. #3
    Join Date
    Jul 2010
    Posts
    46
    Rep Power
    5

    Default

    X-Spam-Flag: YES
    X-Spam-Score: 9.811
    X-Spam-Level: *********
    X-Spam-Status: Yes, score=9.811 tagged_above=-10 required=6.6
    tests=[BAYES_99=3.5, DNS_FROM_OPENWHOIS=1.13, FH_DATE_PAST_20XX=3.188,
    FRT_VALIUM1=1.59, FRT_VALIUM2=1.301, FUZZY_VLIUM=0.001,
    HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, RDNS_NONE=0.1]
    X-Spam-Flag: YES
    X-Spam-Score: 7.326
    X-Spam-Level: *******
    X-Spam-Status: Yes, score=7.326 tagged_above=-10 required=6.6
    tests=[AWL=-0.169, BAYES_60=1, DNS_FROM_OPENWHOIS=1.13,
    FH_DATE_PAST_20XX=3.188, RDNS_NONE=0.1, SUBJ_ALL_CAPS=2.077]
    This is from original message, can you please explain how to see which SA rule is effecting this.

    Also i have set forwarding to alternate gmail address where i receive all mail and none gets into junk folder.
    So I think Zimbra is to paranoic at least in version 5.0.X.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by Najtssob View Post
    This is from original message, can you please explain how to see which SA rule is effecting this.

    X-Spam-Flag: YES
    X-Spam-Score: 9.811
    X-Spam-Level: *********
    X-Spam-Status: Yes, score=9.811 tagged_above=-10 required=6.6
    tests=[BAYES_99=3.5, DNS_FROM_OPENWHOIS=1.13, FH_DATE_PAST_20XX=3.188,
    FRT_VALIUM1=1.59, FRT_VALIUM2=1.301, FUZZY_VLIUM=0.001,
    HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, RDNS_NONE=0.1]
    That would be the ones with high scores, search the forums for the items highlighted above and you'll find answer to what the problem is with those scores - hint, it's nothing to do with ZImbra. If you want to find out what any specific rule does the just copy/paste it's name into a google search or go to the Apache (Spamassassin) web site and search.

    Quote Originally Posted by Najtssob View Post
    Also i have set forwarding to alternate gmail address where i receive all mail and none gets into junk folder.
    So I think Zimbra is to paranoic at least in version 5.0.X.
    Could it be the fact you're receiving more spam than you have in the past.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Jul 2010
    Posts
    46
    Rep Power
    5

    Default

    I receive NO spam, we sit behind ironport which does great job.

    Mail that is thrown to junk folder in Zimbra is OK for gmail (i have enabled mail forwarding to my gmail account).

    Is there option that i can tell Zimbra that mail fom certain address is OK and to leave it alone ?
    Can these be done throug admin web interface ?

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by Najtssob View Post
    I receive NO spam, we sit behind ironport which does great job.
    Then where are the headers from that you've posted above and why did you post the following statement?

    Quote Originally Posted by Najtssob View Post
    So I think Zimbra is to paranoic at least in version 5.0.X.
    Quote Originally Posted by Najtssob View Post
    Mail that is thrown to junk folder in Zimbra is OK for gmail (i have enabled mail forwarding to my gmail account).
    I don't understand what you mean by this statement.

    Quote Originally Posted by Najtssob View Post
    Is there option that i can tell Zimbra that mail fom certain address is OK and to leave it alone ?
    Yes, you can search the forums and the wiki for the word 'whitelist'. You could also use the Whitelist/Blacklist feature in the user Preferences or you could even use the 'Not Junk' button when you want an email to be trained as not junk.

    Quote Originally Posted by Najtssob View Post
    Can these be done throug admin web interface ?
    No, it can't.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Jul 2010
    Posts
    46
    Rep Power
    5

    Default

    >>Then where are the headers from that you've posted above and why did you post the following statement?

    Headers are from mail that gets throug ironport but end up in Zimbra junk folder. This mail is all legitimate buisness mail.

    -----

    >>I don't understand what you mean by this statement.

    Preferences > Mail > Receiving Messages > Forward a copy to:
    here I have entered my gmail address.
    If i go to the gmail I see ALL mail in the inbox, but in Zimbra there is a lot of mail in the Junk folder insted of inbox.
    Yes, mail that ends up in Junk folder in Zimbra is also forwarded to Gmail and NOT thrown to junk in Gmail.

    -----

    >>Yes, you can search the forums and the wiki for the word 'whitelist'. You could also use the Whitelist/Blacklist feature in the user Preferences or you could even use the 'Not Junk' button when you want an email to be trained as not junk.

    I can't find Whitelist/Blacklist option under preferences, I am using Zimbra 5.
    'Not Junk' button showed no effect in past few days.

    -----

    Thanks for all your help, Zimbra is great and so are you.

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by Najtssob View Post
    >>Then where are the headers from that you've posted above and why did you post the following statement?

    Headers are from mail that gets throug ironport but end up in Zimbra junk folder. This mail is all legitimate buisness mail.
    Yes, it may be 'legitimate' email but it fails some anti-spam tests in Spamassassin - I've already suggested that you search the forums for the highlighted tests and you'll find out why.

    Quote Originally Posted by Najtssob View Post
    >>I don't understand what you mean by this statement.

    Preferences > Mail > Receiving Messages > Forward a copy to:
    here I have entered my gmail address.
    If i go to the gmail I see ALL mail in the inbox, but in Zimbra there is a lot of mail in the Junk folder insted of inbox.
    Yes, mail that ends up in Junk folder in Zimbra is also forwarded to Gmail and NOT thrown to junk in Gmail.
    See the answer above.

    Quote Originally Posted by Najtssob View Post
    >>Yes, you can search the forums and the wiki for the word 'whitelist'. You could also use the Whitelist/Blacklist feature in the user Preferences or you could even use the 'Not Junk' button when you want an email to be trained as not junk.

    I can't find Whitelist/Blacklist option under preferences, I am using Zimbra 5.
    That's a Zimbra 6 feature so I'd suggest you update your forum profile with the output of the following command:

    Code:
    zmcontrol -v
    You can set whitelist/blacklist, have a search of the wiki (and the forums) for 'whitelist'.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    Join Date
    Jul 2010
    Posts
    46
    Rep Power
    5

    Default

    >>You can set whitelist/blacklist, have a search of the wiki (and the forums) for 'whitelist'.

    I did. Do I realy need to restart server for this ?


    >>Yes, it may be 'legitimate' email but it fails some anti-spam tests in Spamassassin

    Now I know this. I only wanted to point out that Zimbra is more paranoic about spam than gmail.


    Thanks for all.

  10. #10
    Join Date
    Sep 2007
    Posts
    186
    Rep Power
    8

    Default

    This is not a Zimbra problem per se, it was the rules SA rules Zimbra was using.

    The workaround this issue is to modify the following files and remove or comment references to OPENWHOIS:

    /opt/zimbra/conf/spamassassin/STATISTICS-set1.txt
    /opt/zimbra/conf/spamassassin/STATISTICS-set3.txt
    /opt/zimbra/conf/spamassassin/active.list
    /opt/zimbra/conf/spamassassin/50_scores.cf
    /opt/zimbra/conf/spamassassin/72_active.cf

    Also, edit /opt/zimbra/conf/spamassassin/72_active.cf

    Modify

    ##{ FH_DATE_PAST_20XX
    header FH_DATE_PAST_20XX Date =~ /20[1-9][0-9]/ [if-unset: 2006]
    describe FH_DATE_PAST_20XX The date is grossly in the future.
    ##} FH_DATE_PAST_20XX

    To

    ##{ FH_DATE_PAST_20XX
    header FH_DATE_PAST_20XX Date =~ /20[2-9][0-9]/ [if-unset: 2006]
    describe FH_DATE_PAST_20XX The date is grossly in the future.
    ##} FH_DATE_PAST_20XX

    Additional info:
    Bug 45625 – remove OPENWHOIS references from spamassasin config
    Bug 43766 – FH_DATE_PAST_20XX - Spamassassin incorrect tagging from today

Similar Threads

  1. Replies: 15
    Last Post: 11-24-2009, 08:46 AM
  2. mta to not starting
    By cowanpf in forum Installation
    Replies: 2
    Last Post: 10-05-2009, 05:36 AM
  3. postfix relay=none status=bounced for local mails
    By vdd in forum Administrators
    Replies: 1
    Last Post: 08-06-2009, 09:05 AM
  4. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 12:34 PM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 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
  •