[SOLVED] Reject Mail Based on SPAM Level


Jan 7, 2021

is it possible to reject an incoming mail in the SMTP dialog if a certain SPAM level is exceeded?
With a "Block when Spam Level > 10" this happens to late, after the eMail is internally passed to SA
for evaluation. I think the mail would be accepted externally and then silently discarded.

Or am I seeing it wrong?

you can configure pmg to go through the rule system during the smtp dialog, the option is called: 'before queue filtering' in Mail Proxy -> Options
this will block the smtp dialog until the mail is gone through the rule system and then take the appropriate action


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!