I’m curious about what the “Reject Spam” setting does:
Reading the docs, I see that “Spam Filter” activates Spam Assassin for the domain. So, that makes sense. Looking at the mail logs I see SA is definitely working.
However, I couldn’t find any documentation on Reject Spam. I Figured maybe Spam Filter would send an email SA marked as spam to a spam folder or quarantine it. However, in the mail logs I see email being “rejected” due to the senders IP being on a blacklist even though I don’t have “Reject Spam” checked. Those emails never seem to make it to the mailbox at all. So, what does Reject Spam do then?
SPAM_SCORE will mark a message as spam if the spam score is equal or greater to 50 and it will send it to your spam folder.
If you active Reject Spam, then when a mail arrives, spamassassin will check it and if spam score is equal or greater than 100, exim will reject it in the smtp session, that is, the mail won’t reach your mail user, neither inbox nor spam folder.
Gotcha. Thank you! Thing is, I don’t have Reject Spam checked and spam isn’t reaching the mailbox (it’s being rejected anyway). You’ve given me a clue though. Maybe “Reject Spam” simply throws out anything greater than 50? After all, if it’s over 50, it’s considered spam so…
Thanks again for the info. That’s very useful to know.
No reject_spam file has been created in that directory. Which makes sense because “Reject Spam” isn’t checked. The mail log does show an email being delivered as spam. Indeed, I see it in the spam folder. So, good! But there are other entries in the log marked as rejected that I do not see (in roundcube).
I isolated two examples here. The first one shows an email marked as spam (again, I see it in the mailbox), and the second as being rejected (it’s nowhere to be found):
*for clarity, my test email account begins with icecube@…
Everything you’re saying makes complete sense to me. I’ll probably just mark this as solved. Nonetheless, I’m not 100% convinced that leaving “Reject Spam” unchecked will guarantee that all mail will still hit the mailbox. Could be I’m just misinterpreting the mail log entry though (that’s entirely likely).
I do want to take this opportunity to say that for the most part everything works fine. I’ve got good mail scores and setup was easy. Hestia is good stuff!
A DNSBL is a list of IP addresses that are known for sending spam or malicious content. It works like a spam filter by blocking emails or traffic from those blacklisted IPs. When Exim receives a message, it checks the sender’s IP against the DNSBL, and if it’s on the list, the message is rejected.
So, the message you see in the log is not related neither to SpamAssassin nor to Reject spam option.