[SOLVED] Forward incoming message

Aug 9, 2022
11
0
6
Hello at all,

i try to figure out how I can forward a specific incoming mail (original to: anton@domain.tld) to peter@domain.tld

Because there is no "forward" action object or similar available i tried to use the "Header Attribute" action and replace the "To" value with the target email address.
Then the Email will be send to "anton" (wrong) but in the Mailheader the expected "peter" is written. (So the action object works)

Is this a bug or a feature? :-)

Does anybody know another Method to forward an email to another recipient?
 
Is this a bug or a feature?
it's just the way SMTP works - by changing the header nothing happens with the envelope addresses.

Forwards should probably be done in the downstream server and not in PMG, but you might be able to work around this with a rule that:
* has a BCC action (to peter@domain.tld)
* has a Block action (to not send the mail to anton@)
(I'd leave the To header as is - else everybody gets even more confused)

I hope this helps!
 

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!