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.

Spam Assassin questions

Discussion in 'E-mail Discussions' started by imcjd, Oct 3, 2016.

  1. imcjd

    imcjd Member

    Joined:
    Apr 12, 2016
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Hi,

    We are seeing the following error on outgoing non-smtp email sent from a website enquiry form:

    rejected by non-SMTP ACL: "SpamAssassin as cpaneleximscanner detected OUTGOING not smtp message as spam (5.1)"

    That message is taken from the reject log. Two questions:

    1. Where is the outgoing SpamAssassin score defined (I assume its set to 5)? Our reject score has been globally set to 7, the specific account's score is set to 10 and in exim.conf.localopts there is acl_outgoing_spam_scan_over_int=150?

    2. Why are there no SpamAssassin headers in the reject log for this email? It makes it impossible to know which tests it failed on?

    Hopefully someone can help! Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    The score for outgoing messages is configured via the following options under the "Apache SpamAssassin™ Options" tab in "WHM >> Exim Configuration Manager":

    Scan outgoing messages for spam and reject based on the Apache SpamAssassin™ internal spam_score setting

    Scan outgoing messages for spam and reject based on defined Apache SpamAssassin™ score

    Note that entering "7" as defined Apache SpamAssassin™ score translates to "70" in /etc/exim.conf.localopts.

    As of cPanel version 58, when outbound spam scanning is enabled, all email deliveries that are piped to sendmail or exim will happen in the background to avoid delays in the acceptance of email. This prevents PHP from timing out when sending mail.

    Thank you.
     
  3. imcjd

    imcjd Member

    Joined:
    Apr 12, 2016
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Thanks,

    In our exim settings in cPanel we have those two options greyed out. The first is on and the second is set to 15. So that still does not explain where the outbound scanning is getting 5 as the threshold from?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Is it possible these are scores for forwarded emails? If so, note the additional configuration values under the "Apache SpamAssassin™ Options" tab in "WHM >> Exim Configuration Manager":

    Do not forward mail to external recipients if it matches the Apache SpamAssassin™ internal spam_score setting [?]
    Do not forward mail to external recipients based on the defined Apache SpamAssassin™ score (Minimum: 0.1; Maximum: 99.9) [?]

    Otherwise, feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page