I have a situation where an email from Comcast alert services is getting
rejected, as the email comes in to my postfix server it gets forward to my
phone and the service provider looks up SPF for my domain and rejects the
email as it should. I wanted to rewrite the address to remove the
@comcast.com and replace with @mydomain. I tested this with sender_canonical
and it works for sending email from my server as expected but I need a way
to change the email address as it comes in from the remote SMTP client to my
postfix server. I think I got it working with header checks but it seems
like there should be a better solution. Can anyone recommend another way to
change the sender's email address, I tried recipient_canonical but that did
not work, not sure if its because it did not configure
local_header_rewrite_clients
<http://www.postfix.org/postconf.5.html#local_header_rewrite_clients> .

 

 

Thanks, paul    

Reply via email to