Custom spam rules not working?

Mar 26, 2023
68
10
8
Hi everyone,

We have a custom rule for a domain:

Code:
# cat /etc/mail/spamassassin/custom.cf
# Rules for example.co.uk
header LOCAL_EXAMPLE sender =~ /@example\.co\.uk/
score KAM_BENEFICIARYLOW 0

Then sync it:

Code:
pmgconfig sync --restart 1

However, the mail is still getting blocked:

Code:
SA score=6/5 time=7.090 bayes=0.00 autolearn=no autolearn_force=no hits=ADVANCE_FEE_2_NEW_MONEY(0.05),BAYES_00(-1.9),DKIM_SIGNED(0.1),DKIM_VALID(-0.1),DKIM_VALID_AU(-0.1),DKIM_VALID_EF(-0.1),DMARC_PASS(-0.1),HTML_MESSAGE(0.001),KAM_BENEFICIARYLOW(6),LOTS_OF_MONEY(0.001),MONEY_FRAUD_5(2.411),SPF_HELO_NONE(0.001),SPF_PASS(-0.001)Nov 12 17:09:54 mailgate6 pmg-smtp-filter[1976043]: 614B967338BD98897C: notify <sender@example.co.uk> (rule: Block outgoing Spam, D579D614D2)Nov 12 17:09:54 mailgate6 pmg-smtp-filter[1976043]: 614B967338BD98897C: moved mail for <recepient@gmail.com> to spam quarantine - 614F167338BE2E2337 (rule: Block outgoing Spam)

Did we miss any steps?

Thanks,
C
 

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!