Hi everyone,

I have a user on my postfix example.com server that want all emails sent
to u...@example.com to be "relayed" to u...@external.example.net.

In main.cf I have set :
virtual_alias_maps = hash:/etc/postfix/virtual

# cat /etc/postfix/virtual
u...@example.com u...@external.example.net

The problem doing that is that some emails are rejected by
external.example.net mail servers because of SPF, for example :
"550 SPF Hard Fail: Following sender domain's SPF record v=spf1 [...]
-all does not designate a.b.c.d as permitted sender."

Is there a way to transfer the email as an attachment to avoid that ?
Or just a way to rewrite the envelope sender to u...@example.com ?
What do you advise for this case ?

Thanks,


Guillaume

Reply via email to