I'm having a problem setting up Postfix. I followed the instructions here:
And it worked in the sense that I can send emails from the virtualmin server to a google apps domain and everything checks out properly.
The problem is that the messages are coming from my SASL authenticated address and not the generics that I setup.
I'm sending the email as root on the virtualmin box and authenticating (through postfix) as firstname.lastname@example.org and sending to email@example.com and the email appears to come from firstname.lastname@example.org and not the generic account that I setup in the generics file.
Does this mean that I have to create another google apps account just for sending emails from the virtualmin box?
Is there anything else that I need to do on the virtualmin side to get this to work? I do not intend to use any mail functions (from virtualmin) right now and all of that will be handled through google apps. But I want to make sure the emails from wordpress, php scripts and whatnot are able to be sent and appear to be coming from the correct place.
I guess that opens up the larger question which is if I have
and that user sets up wordpress blog and emails their users it seems to me right now that everything will appear to come from the account which is SASL authenticating to smtp.gmail.com and not from email@example.com.
Ugg I'm confused and not sure how to tie this in properly with Virtualmin. Any pointers will be HUGELY appreciated!