Incoming mails not shown in Mail Delivery Report when they hit Exim option "ACL > SpamAssassin reject spam score threshold"

Gino Viroli

Well-Known Member
Oct 2, 2007
91
10
58
cPanel Access Level
Root Administrator
I have noticed that when an incoming mail hits the "SpamAssassin reject spam score threshold" (that can be set in "WHM > Service Configuration > Exim Configuration Manager > Basic Editor > ACL Options") the mail is rejected and not shown at all in the "WHM > Email > Mail Delivery Report"

I thought it was normal because the hint close to "SpamAssassin reject spam score threshold" option says:

"Reject mail at SMTP time if the spam score is greater than this number"

hence I thought that incoming mails "rejected at SMTP time" are not shown in the Mail Delivery Report.

On the other hand I was surprised to see that incoming mails rejected because in RBLs (that are still "rejected at SMTP time") are shown in the Mail Delivery Report.

Is this normal, or am I doing something wrong.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
You're right, this isn't logged in Mail Delivery reports and we did have CPANEL-17762 opened for this - one of our development teams noted in the case that because mail is rejected in this instance prior to receiving the recipient that it wouldn't be able to be logged there. It is logged in the exim_mainlog though.

I am curious though, are the RBL matches that are rejected at SMTP time you're referencing part of SpamAssassin's RBL check or part of the exim RBL check that's done? Do you happen to have an expample.
 
  • Like
Reactions: Gino Viroli

Gino Viroli

Well-Known Member
Oct 2, 2007
91
10
58
cPanel Access Level
Root Administrator
You're right, this isn't logged in Mail Delivery reports and we did have CPANEL-17762 opened for this...
;)

I am curious though, are the RBL matches that are rejected at SMTP time you're referencing part of SpamAssassin's RBL check or part of the exim RBL check that's done? Do you happen to have an expample.
I would say part of the Exim RBL check because these ones are shown in Mail Delivery Reports and I can see their Spam Score is 0
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
I would say part of the Exim RBL check because these ones are shown in Mail Delivery Reports and I can see their Spam Score is 0
What's the specific output for them though? Either way it appears that they did deem that case as by-design and included the reasoning I provide as why it behaves in that manner so it is indeed something we're doing and not something that you're doing incorrectly.