The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache SpamAssassin marks email from Gmail as spam

Discussion in 'E-mail Discussions' started by nightaddix, Aug 6, 2010.

  1. nightaddix

    nightaddix Active Member
    PartnerNOC

    Joined:
    Jul 7, 2008
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    We're having an issue with one server which is marking all the emails from Gmail as spam. Please check the logs below ( domain name changed for security purposes ) :

    root@server [~]# cat /var/log/exim_mainlog |grep 1OhRHA-0001Tr-5z
    2010-08-06 11:04:17 1OhRHA-0001Tr-5z H=mail-yx0-f169.google.com [209.85.213.169] Warning: "SpamAssassin as xxx detected message as spam (5.8)"
    2010-08-06 11:04:17 1OhRHA-0001Tr-5z <= xyz@gmail.com H=mail-yx0-f169.google.com [209.85.213.169] P=esmtp S=2778 id=AANLkTikw-hRsMzeEMAsFoAH+Dbu4dgSWMpGTj9dvGSB0@mail.gmail.com
    2010-08-06 11:04:18 1OhRHA-0001Tr-5z => /dev/null <test@xxx.net> R=central_filter T=**bypassed**
    2010-08-06 11:04:18 1OhRHA-0001Tr-5z Completed

    What we have done until now :

    - checked the filters - there's only one filter set ( $h_X-Spam-Bar: contains "+++++" Discard ) which should be OK
    - ran /scripts/upcp --force
    - ran /scripts/eximup --force
    - ran /scripts/update_sa_rules
    - ran /scripts/checkperlmodules

    Any ideas ? :) Thanks
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Friendly moderator note

    I moved the thread to the Mail section, since it is a more appropriate fit.
     
  3. nightaddix

    nightaddix Active Member
    PartnerNOC

    Joined:
    Jul 7, 2008
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Re ...

    Hey,

    Thanks for moving the topic. In the meantime, we fixed the issue. For anyone who runs into the issue, just remove the email filter and check the headers. We actually found the issue to be caused by a SpamAssassin bug :

    Rules/FH_DATE_PAST_20XX - Spamassassin Wiki

    We edited /etc/mail/spamassassin/local.cf and restarted Exim. This fixed the issue. I hope someone will find this helpful. Cheers !
     
  4. arunsv84

    arunsv84 Well-Known Member

    Joined:
    Oct 20, 2008
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Thanks !!!

    Hi nightaddix,

    Thank you for posting the fix.
     
Loading...

Share This Page