Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

SOLVED SpamAssassin reject spam score threshold

Discussion in 'General Discussion' started by Elizabeta, Apr 3, 2018.

Tags:
  1. Elizabeta

    Elizabeta Active Member

    Joined:
    Mar 21, 2018
    Messages:
    28
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    Mostar
    cPanel Access Level:
    Root Administrator
    Hello,

    I have a Cpanel version 68.0.36 and I have to set up SpamAssasin but I have some problems with it.

    In WHM I have set Home-Service Configuration-Exim Configuration Manager-Apache SpamAssassin reject spam score thresholdReject 9 but I can´t see this value in /etc/mail/spamassassin/local.cf. Which is main configuration file for SpamAssassin?

    In /var/log/exim_mainlog I see this message "SpamAssassin as cpaneleximscanner detected OUTGOING smtp message as spam (13.3)".
    I can not send any spam message. I have a message in my webmail
    SMTP error: (550) This message was classified as SPAM and may not be delivered.

    I want to set up that spam message are not automatically rejected by server. Because, maybe one good message be announced as spam and can not be delivered.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,782
    Likes Received:
    1,712
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The setting you are referring to is configured as part of a rule in the Exim configuration file as opposed to the SpamAssassin configuration file.

    You can browse to "WHM >> Exim Configuration Manager >> Basic Editor >> Apache SpamAssassin Options" and set the following option to "Off" if you want to disable scanning outgoing emails for SPAM:

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

    Thank you.
     
  3. Elizabeta

    Elizabeta Active Member

    Joined:
    Mar 21, 2018
    Messages:
    28
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    Mostar
    cPanel Access Level:
    Root Administrator
    Hello,

    Thank you Michael for your response.

    But, I don´t want to disable scanning outgoing emails for SPAM.

    I want to scan mails for spam but no reject such mails marked as spam just send this mail in special folder maybe on server.

    Best regards,
    Elizabeta Krešo
     
  4. Elizabeta

    Elizabeta Active Member

    Joined:
    Mar 21, 2018
    Messages:
    28
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    Mostar
    cPanel Access Level:
    Root Administrator
    Hello,

    If i set up Scan outgoing messages for spam and reject based on the Apache SpamAssassin™ internal spam_score setting On
    is default behaviour that server reject all mails marked as spam?

    Best regards,
    Elizabeta Krešo
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,782
    Likes Received:
    1,712
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @Elizabeta,

    The options we provide to scan outgoing email for SPAM will automatically reject the messages if they meet the configured SPAM threshold. We don't support queuing the outgoing messages that meet the SPAM score, and we don't move the messages to a SPAM directory since it's outgoing email as opposed to incoming email. It's generally up to the receiving mail server to mark the message as SPAM once the message leaves the server.

    Thank you.
     
  6. Elizabeta

    Elizabeta Active Member

    Joined:
    Mar 21, 2018
    Messages:
    28
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    Mostar
    cPanel Access Level:
    Root Administrator
    Thank you very much Michael for your explanation.
    I have another question, I have set up in WHM-Service Configuration-Exim Configuration Manager-Apache SpamAssassin reject spam score treshold 8. I don´t see this value in /etc/mail/spamassassin/local.cf.
    Which is main configuration file for SpamAssassin?

    Best regards
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,782
    Likes Received:
    1,712
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    The SpamAssasssin global configuration is located at /etc/mail/spamassassin/local.cf, however it's not where we store the outgoing SpamAssassin scanning options. For that, we setup a custom Exim ACL (the custom values are stored in /etc/exim.pl.local and /etc/exim.conf.localopts).

    Thank you.
     
  8. Elizabeta

    Elizabeta Active Member

    Joined:
    Mar 21, 2018
    Messages:
    28
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    Mostar
    cPanel Access Level:
    Root Administrator
    Thank you very much Michael for your explanation.

    Best regards,
    Elizabeta Krešo
     
    cPanelMichael likes this.
Loading...

Share This Page