Mail Filter - block instead of reject

Gabor Szel

Active Member
Nov 8, 2018
8
0
41
44
Dear all!,

We've made mail filter rules to reject unknown recipient.
We solve this by giving a low priority rule in Mail Filter that will block it not accepted mails.
This also works, but block is not good!
If we block email, the sender is not notified.
If we make "Notification" action object, the sender will receive a new letter! This is not god!, if sender use false email address, we send a notification email "SPAM".

is it possible to use reject rule somehow ?
I just found only a block action in available objects.
 
That’s not available in PMG because of architecture, however, it’s often asked for. You may check via postfix checks and reject there or via spamassassin checks with high score and may follow my guide on Advancing PMG by adding spamass-milter. PMG ruled are performed post-queue, so they can’t reject. Maybe once someone will rewrite pmg-smtp-filter to be run miltered.
 

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!