ddavness / power-mailinabox

A Mail-in-a-Box with extra capabilities and more customizability. Not just for power users!
Creative Commons Zero v1.0 Universal
168 stars 31 forks source link

forwarding does not work when using a relayhost #101

Open s4069b opened 1 year ago

s4069b commented 1 year ago

I added a relayhost (amazon ses actually) and everything worked fine. But if I setup a mail forwarding in roundcube - it does not work - the relay host rejects the forwarded message.

s4069b commented 1 year ago

I think the workaround might be to use "sender_dependent_relayhost_maps =" in /etc/postifix/main.cf instead of the more general "relayhost=" ... but I've not got a workaround 'working' yet. That way, emails that are forwarded (having the original sender exposed? ) can be redirected differently?