Prevent re-injection into Postfix

May 20, 2017
174
18
58
Netherlands
cyberfusion.io
Hi,

We use postfwd2, which ratelimits stuff based on the amount of RCPTs.

I noticed that postfwd2 counts messages twice, because each one has RCPTs: the original message, and the one relayed to pmg-smtp-filter and then re-injected (using `content_filter`). Here's someone else with a similar issue: https://serverfault.com/questions/1...ting-emails-when-used-with-posftix-and-amavis

Obviously, both postfwd2 and PMG behave correctly, but doubling postfwd2's RCPT count everywhere feels ugly. Does PMG support a way to not re-inject relay mails to pmg-smtp-filter?
 
Obviously, both postfwd2 and PMG behave correctly, but doubling postfwd2's RCPT count everywhere feels ugly. Does PMG support a way to not re-inject relay mails to pmg-smtp-filter?
not sensibly ... pmg-smtp-filter is not a general purpose smtp-server/client - this is why the mail is sent to postfix to deal with the further distribution...
 

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!