Hi, Alexander, It is OK now, both sending and receiving emails. My DNS server has about one hour cache time which resolve mail.example.com to a wrong IP temporary. Thanks a lot for help. --- Robinson Tiemuqinke <hahaha_30k@xxxxxxxxx> wrote: > Hi, > > The authinfo without argument works. While > receiving > emails still doesn't work. > > The following situations work: > > 1, command 'telnet testnode01.example.com 25'. > > 2, sending emails to user01@xxxxxxxxxxxxxxxxxxxxxx, > or user01@xxxxxxxxxxx from local machine. > > 3, sending emails to user01@xxxxxxxxxxxxxxxxxxxxxx > from Internet. > > The following situation fails: > > 1, sending emails to user01@xxxxxxxxxxx from > Internet, like my yahoo.com and gmail.com accounts. > > I've used ddclient to update IPs dynamically > without > problems. > > The following are the contents in my > /etc/mail/local-host-names file: > > [root@testnode01 mail]# cat local-host-names > # local-host-names - include all aliases for your > machine here. > example.com > testnode01.example.com > testnode01 > mail > mail.example.com > > > Host resolve results are attached as well, both > example.com and mail.example.com are resolved to the > same IP. > > [root@testnode01 mail]# host example.com > example.com has address **.**.**.71 > example.com mail is handled by 0 mail.example.com. > [root@testnode01 mail]# host mail.example.com > mail.example.com has address **.**.**.71 > [root@testnode01 mail]# > > > my current sendmail.mc is attached as well. > > Please have a look and help. > > Thanks a lot. > > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com