Thank you. It works. But I got the new error message :
connect to alt4.gmail-smtp-in.l.google.com[74.125.95.27]:25: Connection refused. I also tried yahoo.com and get the same error. ________________________________ From: Wietse Venema <wie...@porcupine.org> To: ren yufei <renyufe...@yahoo.com.cn> Cc: Jeroen Geilman <jer...@adaptr.nl>; postfix-users@postfix.org Sent: Tue, October 19, 2010 7:56:24 PM Subject: Re: outer mail sender question ren yufei: > Oct 19 16:07:45 ubuntu postfix/local[23073]: 9422DA070A: >to=<renyufe...@gmail.co > m>, relay=local, delay=0.46, delays=0.19/0.05/0/0.22, dsn=5.1.1, status=bounced > (unknown user: "renyufei83") You are sending mail for GMAIL.COM to the LOCAL delivery agent. This usually means that by mistake you added gmail.com to your local destination list: mydestination = hash:/etc/postfix/mydomains Remove gmail.com (and other remote destinations) from this file. Wietse