Hi,
Our client's server uses PHP Mail to send email. We primarily use SpamAssassin to filter outgoing email. I need to understand why some emails are incorrectly being flagged as spam and therefore end up in exim_rejectlog.
Here are some relevant settings in Home > Service Configuration > Exim Configuration Manager:
ACL Options:
Here's an example of an email that is logged in exim_rejectlog:
Thanks!
Our client's server uses PHP Mail to send email. We primarily use SpamAssassin to filter outgoing email. I need to understand why some emails are incorrectly being flagged as spam and therefore end up in exim_rejectlog.
Here are some relevant settings in Home > Service Configuration > Exim Configuration Manager:
ACL Options:
- Apache SpamAssassin™ reject spam score threshold: 5
- Apache SpamAssassin™: Forced Global ON: On
- Apache SpamAssassin™: message size threshold to scan: 200KB
- (this option is greyed out) Scan outgoing messages for spam and reject based on defined Apache SpamAssassin™ score (Minimum: 0.1; Maximum: 99.9): 2
- Do not forward mail to external recipients based on the defined Apache SpamAssassin™ score (Minimum: 0.1; Maximum: 99.9): 2
Code:
acl_outgoing_spam_scan_over_int=20
The user submitted the following comments, which don't seem spammy to me:2019-12-05 13:35:59 1icvyo-000Pdx-IO F=<[email protected]> rejected by non-SMTP ACL: "SpamAssassin as cpaneleximscanner detected OUTGOING not smtp message as spam (2.2/20)"
Envelope-from: <[email protected]>
Envelope-to: <[email protected]>
P Received: from cpaneluseraccount by host.clientdomain.tld with local (Exim 4.92)
(envelope-from <[email protected]>)
id 1icvyo-000Pdx-IO
for [email protected]; Thu, 05 Dec 2019 13:35:58 -0500
T To: [email protected]ld
Subject: New Warranty Reimbursement Claim
X-PHP-Script: www.clientdomain.tld/index.php for { IP Address }
X-PHP-Originating-Script: 1004:class.phpmailer.php
Date: Thu, 5 Dec 2019 18:35:58 +0000
F From: Client Company <[email protected]>
I Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Questions:"On/ Off switch would not operate. Replaced faulty wiring harness."
- To confirm, when scanning outgoing emails, is SA using a threshold of 20 (2 * 10) and not 5?
- If the above is correct, which option controls the outgoing threshold score?
- Scan outgoing messages for spam and reject based on defined Apache SpamAssassin™ score
- Do not forward mail to external recipients based on the defined Apache SpamAssassin™ score
- Does anyone have thoughts on what parts of this email are flagging as spam? FWIW, this same user (same email address) was successfully able to send a very similar email roughly 30 minutes later.
Thanks!