[SOLVED] Reject Mail Based on SPAM Level

strehi

Member
Jan 7, 2021
21
3
8
Karlsruhe
Hi,

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?

Tia
Bernd
 
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