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", "i...@mydomain.com/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   i...@mydomain.com:mypasswd
=============end=======================

Now, i can use MUA send a mail with POSTFIX in my LAN,
but, the "From: " of mail always i...@mydomain.com, when I use any account
number in LAN.

-- 
WEB: http://www.yuzifu.net/
MSN: yuz...@hotmail.com

Reply via email to