Hi!
Is there any way we can run a test to check the score a given email would get (ham or spam).
We can call spamassassin directly like:
This will tell us the assigned score (and the info) - but can we do that for the way PMG processes emails (Especially the SA part).
The reason I'm asking, is that we have a bunch of the crypto spam email coming in (bitcoin-related) - PMG gives it a score of 3.5 while SA directly gives it a score of 8.
The only rule missing in the output (and score) is KAM_BITCOIN (which gives a 4.5 score) - so I'm trying to figure out why SA detects it's a bitcoin spam email, but PMG does not.
I've received multiple of those emails throughout the day, SA always detects it with KAM_BITCOIN, PMG doesn't. Even restarting the filter ( systemctl restart pmg-smtp-filter ) doesn't seem to do the trick.
I also don't find anything where the rule is disabled in PMG.
Edit: it might be worth noting that other KAM rules are applied, so I know for sure KAM rules are generally active!
Is there any way we can run a test to check the score a given email would get (ham or spam).
We can call spamassassin directly like:
Code:
cat /var/spool/pmg/cluster/1/spam/1A/12075460A6EABB8A01A | spamassassin -D pyzor | less
This will tell us the assigned score (and the info) - but can we do that for the way PMG processes emails (Especially the SA part).
The reason I'm asking, is that we have a bunch of the crypto spam email coming in (bitcoin-related) - PMG gives it a score of 3.5 while SA directly gives it a score of 8.
The only rule missing in the output (and score) is KAM_BITCOIN (which gives a 4.5 score) - so I'm trying to figure out why SA detects it's a bitcoin spam email, but PMG does not.
I've received multiple of those emails throughout the day, SA always detects it with KAM_BITCOIN, PMG doesn't. Even restarting the filter ( systemctl restart pmg-smtp-filter ) doesn't seem to do the trick.
I also don't find anything where the rule is disabled in PMG.
Edit: it might be worth noting that other KAM rules are applied, so I know for sure KAM rules are generally active!
Last edited: