I use the mail service of google apps now, I have pointed to mydomain.com MX record to google apps, but it is too slow, so I install a POSTFIX server in my LAN. My domain is a "mydomain.com", "[email protected]/mypasswd" is my google apps account.
I have already set in the /etc/postfix/main.cf =============begin====================== myhostname = server.mydomain.com myorigin = mydomain.com relayhost = [smtp.gmail.com]:587 smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd . . . =============end======================= set in the /etc/postfix/sasl_passwd =============begin====================== [smtp.gmail.com]:587 [email protected]:mypasswd =============end======================= Now, i can use MUA send a mail with POSTFIX in my LAN, but, the "From: " of mail always [email protected], when I use any account number in LAN. -- WEB: http://www.yuzifu.net/ MSN: [email protected]
