SpamAssassin High score mail is delivered

Jun 18, 2020
2
0
21
38
good evening,

In our infrastructure we have a Proxmox Mail Gateway 7.1.4 server deployed in front of our mail server to control incoming mail, we are having problems filtering spam emails, we edit the rules to control such emails and we see that some continue to pass , when we see the tracking of these emails, the score that SpamAssassin gives to said email exceeds level 10 and it delivers said email anyway.

I paste an example:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
antispam postfix/cleanup[1122809]: EFD7E1018DD: message-id=<3CP28pOqiOOJUZYPrjVebOIBe3T8W3Ey-j3ipM4pvls.lHQZYUjFE00PT9NfUAowDe-1SVNBbFIJF59jJkbzbJE@sinkgate.sa.com>
antispam postfix/qmgr[728003]: EFD7E1018DD: from=<xxxx@xxxxx>, size=12983, nrcpt=1 (queue active)
antispam pmg-smtp-filter[1122710]: 1018EC63061C1852C20: new mail message-id=<3CP28pOqiOOJUZYPrjVebOIBe3T8W3Ey-j3ipM4pvls.lHQZYUjFE00PT9NfUAowDe-1SVNBbFIJF59jJkbzbJE@sinkgate.sa.com>#012
antispam postfix/smtpd[1122848]: disconnect from unknown[23.247.57.162] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
antispam pmg-smtp-filter[1122710]: 1018EC63061C1852C20: SA score=13/5 time=6.282 bayes=1.00 autolearn=no autolearn_force=no hits=BAYES_99(3.5),BAYES_999(0.2),HTML_MESSAGE(0.001),HTML_MIME_NO_HTML_TAG(0.377),KAM_2TLD_PROBLEMS(2),KAM_DMARC_STATUS(0.01),KAM_SA_ZA_ABUSE(4.5),MIME_HTML_ONLY(0.1),RDNS_NONE(0.793),SPF_HELO_PASS(-0.001),SPF_PASS(-0.001),T_SCC_BODY_TEXT_LINE(-0.01),URIBL_BLACK(1.7)
antispam postfix/smtpd[1122769]: connect from localhost.localdomain[127.0.0.1]
antispam postfix/smtpd[1122769]: A8572101DCD: client=localhost.localdomain[127.0.0.1], orig_client=unknown[23.247.57.162]
antispam postfix/cleanup[1122603]: A8572101DCD: message-id=<3CP28pOqiOOJUZYPrjVebOIBe3T8W3Ey-j3ipM4pvls.lHQZYUjFE00PT9NfUAowDe-1SVNBbFIJF59jJkbzbJE@sinkgate.sa.com>
antispam postfix/qmgr[728003]: A8572101DCD: from=<xxxx@xxxxx>, size=13209, nrcpt=1 (queue active)
antispam pmg-smtp-filter[1122710]: 1018EC63061C1852C20: accept mail to <xxxx@xxxxx> (A8572101DCD) (rule: Whitelist User)
antispam postfix/smtpd[1122769]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
antispam pmg-smtp-filter[1122710]: 1018EC63061C1852C20: processing time: 6.353 seconds (6.282, 0.049, 0)
antispam postfix/lmtp[1121245]: EFD7E1018DD: to=<xxxx@xxxxx>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.7, delays=0.36/0/0/6.4, dsn=2.5.0, status=sent (250 2.5.0 OK (1018EC63061C1852C20))
antispam postfix/qmgr[728003]: EFD7E1018DD: removed
antispam postfix/smtp[1122735]: A8572101DCD: to=<xxxx@xxxxx>, relay=mail.isaltda.com.uy[192.168.0.10]:25, delay=0.02, delays=0/0/0.01/0.01, dsn=2.0.0, status=sent (250 Message accepted for delivery)
antispam postfix/qmgr[728003]: A8572101DCD: removed
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Why if SpamAssassin gives you a score of 13/5 does it deliver the mail anyway?
 
Is your Whitelist User rule higher priority than your spamassassin rules?

Code:
ntispam pmg-smtp-filter[1122710]: 1018EC63061C1852C20: accept mail to <xxxx@xxxxx> (A8572101DCD) (rule: Whitelist User)
 
  • Like
Reactions: Stoiko Ivanov

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!