Rule to subtract spam score

rg2

Active Member
Jul 18, 2014
27
4
43
Hi.

My PMG filters both incoming and outgoing e-mails.

I have a customer that I'm migrating from an old antispam server to PMG.

The problem is that his domain/website is listed on SORBS, so every e-mail that is sent from his domain gets scored by spam assassin (RCVD_IN_SORBS_HTTP and RCVD_IN_SORBS_SOCKS rules) and is blocked/quarantined on PMG before being sent.

I created a rule to add an exception and accept all mail sent from his domain, so he can actually send e-mails, but this means that if he sends some spam (compromised account for example), it won't be blocked.

How do I create a rule to reduce the spam score instead of accepcting the e-mail?

Example: RCVD_IN_SORBS_HTTP and RCVD_IN_SORBS_SOCKS rules adds 2.499 and 2.443 potins. I would like to subtract 5 points from his domain score on outgoing e-mails, so PMG still checks other rules before sending the e-mail.

Thanks!

Regards,
Rafael
 
I'd rather ask why they're listed on SORBS - it could end up with your PMG being listed there as well.

Currently there is no ACTION to lower or increase the spamscore - but you can create a custom spamassassin rule for this:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#_custom_spamassassin_configuration

I hope this helps!

I have no idea why it's listed, I don't host his website... but I agree it would be better to fix that.

I'll try creating a custom rule. Thanks!

PS: It would be nice to have a action to lower/increase spamscore!