Postfix and google "mailed-by" field.

1 post / 0 new
#1 Fri, 06/07/2013 - 17:45
godowsky

Postfix and google "mailed-by" field.

Hi,

I have a vps on ramnode with virtualmin and webmin installed, hosting 3 virtualservers. Now, local email outbound is working correctly but i do not understand why the server.site1.com is always the sender for all the domains even if it is set differently. Let me explain better: Site2.com has mx servers on google, it receives mails using a google app account. The domain must also send newsletter using postfix locally to other domains. The server hostname is server.site1.com. I dont understand why when i send email from google app they are sent from "site2.com" and instead locally they are mailed by server.site1.com. I would like the email sent out from postfix to be labeled sent from site2.com too. I tried to modify in webmin - -> postfix --> What domain to use in outbound mail -- > option selected: Use domainname but nothing changed... Any ideas on how to proceed? thanks diego