I have a domain example.com set up as follows
- A server hosts a website and other some other stuff
- Google Apps handles my email and is configured to send and receive it
Whenever the server needs to send me an email, it uses Postfix to send the email through Google's SMTP servers.
This works perfectly fine, but the server sends emails as
firstname.lastname@example.org. I set up an alias in Google Apps to allow
email@example.com to also send and receive mail as
firstname.lastname@example.org. I want postfix to send emails as
email@example.com while logging into Google's SMTP server as
firstname.lastname@example.org. The simple solution would be to open another apps account for my server, but that's another 5 bucks a month for a small hobby project.