ren yufei: > 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.
Many ISPs block direct mail to port 25 for security reasons. If that is the case for you, then you will have to send your mail to a relayhost. See, for example: http://www.postfix.org/SOHO_README.html#client_sasl_enable And perhaps: http://www.postfix.org/SOHO_README.html#client_sasl_sender Wietse