Sending e-mail on behalf of our customer(s), with Postfix
Posted
by
NathanE
on Server Fault
See other posts from Server Fault
or by NathanE
Published on 2011-02-20T13:30:57Z
Indexed on
2011/02/20
15:27 UTC
Read the original article
Hit count: 257
postfix
We send e-mail on behalf of our customers, via our own SMTP services. It's always been a problem for us because usually our "spoofing" of their source address results in the mails being caught in spam traps. This hasn't been a problem in the past due to the small volume and low importance of these mails that we sent. However this requirement has recently changed and we need to fix this issue.
We realise that fundamentally our application is sending e-mail incorrectly, as per this post: Send email on behalf of clients
However, we would like to resolve the problem at the SMTP server level. We have deployed a server running Postfix.
Is it possible to have Postfix automatically adjust the mail headers so that we get this "Sent on behalf of" behaviour? I figure it should just be a case of Postfix noticing that the FROM address is the spoofed (i.e. a domain that is not mentioned in its config anywhere) and therefore inject/replace the appropriate headers to get the desired effect.
Thanks.
© Server Fault or respective owner