I configured postfix to forward mail to external addresses (mostly GMail):
email@example.com firstname.lastname@example.org email@example.com firstname.lastname@example.org email@example.com firstname.lastname@example.org, email@example.com, ... ...
Everything works fine, except that when I send mail from my firstname.lastname@example.org GMail account to email@example.com, it gets forwarded (250 OK in the log), but never shows up in GMail. That's probably not a common scenario, but sending mail from my GMail account to firstname.lastname@example.org or putting myself in Cc is. I just don't like the idea of my message being lost without any sign of error.
I plan to configure a forwarding for a few other users too and I'm sure everyone will first test it by sending a mail to himself (and then tell me, that it doesn't work).
This issue has been discussed in a previous post:
- Can anyone confirm the reason for that behavior?
- Does anyone know how other mail providers handle it (I only tested it with GMail so far).
- Any suggestions for a workaround?
I know postfix can rewrite the header of a message. Could I just change the from-address in such a case (to something like email@example.com) to prevent GMail from ignoring the mail.