藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 網絡通訊


    

藍森林 http://www.lslnet.com 2006年7月28日 12:08


配置sendmail出錯,附上log查錯

這個主機是gklive.org,在root用戶下發信給nathaniel@nathaniel.org

Feb  5 12:44:44 gklive sendmail[12851]: j154iiWL012851: from=root, size=46, class=0, nrcpts=1, msgid=<200502050444.j154iiWL012851@gklive.org>;, relay=root@localhost
Feb  5 12:44:45 gklive sm-mta[12852]: j154iigU012852: from=<root@gklive.org>;, size=314, class=0, nrcpts=1, msgid=<200502050444.j154iiWL012851@gklive.org>;, proto=ESMTP, daemon=MSP-v4, relay=smmsp@localhost.localdomain [127.0.0.1]
Feb  5 12:44:45 gklive sendmail[12851]: j154iiWL012851: to=nathaniel@nathaniel.org, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30046, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (j154iigU012852 Message accepted for delivery)
Feb  5 12:44:46 gklive sm-mta[12861]: j154iigU012852: to=<nathaniel@nathaniel.org>;, ctladdr=<root@gklive.org>; (0/0), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120314, relay=mail.nathaniel.org. [192.168.0.1], dsn=5.3.0, stat=User unknown

上面一段說了不知道nathaniel這個用戶,但是我在nathaniel.org這台主機裡的nathaniel用戶下已經收到了,看nathaniel.org主機的log的最後面已經說明收到了

Feb  5 12:44:46 gklive sm-mta[12861]: j154iigU012852: j154ikgU012861: DSN: User unknown
Feb  5 12:44:46 gklive sm-mta[12861]: j154ikgU012861: to=<root@gklive.org>;, delay=00:00:00, xdelay=00:00:00, mailer=local,pri=30000, dsn=2.0.0, stat=Sent

上面一段是出錯返回給root用戶的信

--------------------------------------------------------------------------

這台主機是nathaniel.org,在root用戶下發信給nathaniel@gklive.org
Feb  5 12:47:22 nathaniel sendmail[3670]: j154lM3n003670: from=root, size=39, class=0, nrcpts=1, msgid=<200502050447.j154lM3n003670@nathaniel.org>;, relay=root@localhost
Feb  5 12:47:23 nathaniel sm-mta[3673]: j154lM8V003673: from=<root@nathaniel.org>;, size=313, class=0, nrcpts=1, msgid=<200502050447.j154lM3n003670@nathaniel.org>;, proto=ESMTP, daemon=MSP-v4, relay=localhost.localdomain [127.0.0.1]
Feb  5 12:47:23 nathaniel sendmail[3670]: j154lM3n003670: to=nathaniel@gklive.org, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30039, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (j154lM8V003673 Message accepted for delivery)
Feb  5 12:47:23 nathaniel sm-mta[3674]: j154lM8V003673: to=<nathaniel@gklive.CGK>;, ctladdr=<root@nathaniel.org>; (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30536, dsn=2.0.0, stat=Sent

上面之段說明已經成功發去啦,但是我在gklive.org這台主機裡的nathaniel用戶下收不到信,(gklive.org主機的log裡面也沒有說收到信,一點反應也沒有)

Feb  5 12:49:35 nathaniel sm-mta[3676]: j154nYaQ003676: ruleset=check_rcpt, arg1=<nathaniel@nathaniel.org>;, relay=root@www.gklive.org [192.168.0.4], reject=553 5.3.0 <nathaniel@nathaniel.org>;... REPLY
Feb  5 12:49:35 nathaniel sm-mta[3676]: j154nYaQ003676: from=<root@gklive.org>;, size=540, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=root@www.gklive.org [192.168.0.4]

上面這段是說明gklive.org裡發來的信已經收到了


在這裡說明下,我是用兩台電腦組成的局域網的,DNS可以完全解釋到這兩到主機,第一台主機是gklive.org,第二台主機是nathaniel.org
我想問的問題是,為什麼在gklive.org主機的root用戶發信給nathaniel.org主機的nathaniel說沒有這個用戶,但是在nathaniel.org上的nathaniel用戶卻收到信??
第二個問題是為什麼nathaniel.org主機的root用戶發信去gklive.org主機的nathaniel用戶時,nathaniel.org主機說發了信而gklive.org卻收不到?
出現這些錯誤,我是那裡設置不對呢?請詳細說明下∼我是初學者
我用的系統是debian sarge3.1里的sendmail郵箱系統(兩台主機的系統都是一樣的)



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com