- - PR -
postfixでメールを外部に送受信できない
1
投稿者 | 投稿内容 | ||||||||
---|---|---|---|---|---|---|---|---|---|
|
投稿日時: 2005-02-01 11:20
こんにちは。
すいません、再度質問を御願いします。 OSはFedoracore3、メールソフトとしてはpostfixとdovecotを使用しているのですが、 内部でのメールの送受信は大丈夫なのですが 外部へのメール(yahoo.co.jp宛とdocomo.ne.jp宛)が送受信ができません。 下記にメールログを記載しますが 外部DNSサーバがうまく動いていないように思うのですがどうでしょうか? ドメイン名;example.com サーバマシン名;linux クライアントマシン名;linux2 ユーザーアカウント;user [root@linux log]# more maillog Feb 1 08:44:27 linux dovecot: Dovecot starting up Feb 1 08:44:29 linux postfix/postfix-script: starting the Postfix mail system Feb 1 08:44:29 linux postfix/master[2510]: daemon started -- version 2.1.5 Feb 1 08:51:08 linux pop3-login: Login: user [::ffff:192.168.100.1] Feb 1 08:52:34 linux postfix/smtpd[3560]: connect from unknown[192.168.100.1] Feb 1 08:52:34 linux postfix/smtpd[3560]: B6360C016: client=unknown[192.168.100.1], sasl_method=LOGIN, sasl_username=user@linux.example.com Feb 1 08:52:34 linux postfix/cleanup[3563]: B6360C016: message-id=<000b01c507ee$ba509020$0201a8c0@linux2> Feb 1 08:52:34 linux postfix/qmgr[2519]: B6360C016: from=<user@linux.example.com>, size=1403, nrcpt=1 (queue active) Feb 1 08:52:34 linux postfix/smtpd[3560]: disconnect from unknown[192.168.100.1] Feb 1 08:52:34 linux postfix/smtp[3564]: B6360C016: to=<user@docomo.ne.jp>, relay=none, delay=0, status=deferred (Host or domain name not found. Name service error for name=docomo.ne.jp type=MX: Host not found, try again) Feb 1 08:52:36 linux pop3-login: Login: user [::ffff:192.168.100.1] Feb 1 08:52:51 linux last message repeated 2 times Feb 1 08:53:57 linux postfix/smtpd[3560]: connect from unknown[192.168.100.1] Feb 1 08:53:57 linux postfix/smtpd[3560]: 20F8BC036: client=unknown[192.168.100.1], sasl_method=LOGIN, sasl_username=user@linux.example.com Feb 1 08:53:57 linux postfix/cleanup[3563]: 20F8BC036: message-id=<001901c507ee$eb6d8000$0201a8c0@linux2> Feb 1 08:53:57 linux postfix/qmgr[2519]: 20F8BC036: from=<user@linux.example.com>, size=1378, nrcpt=1 (queue active) Feb 1 08:53:57 linux postfix/smtpd[3560]: disconnect from unknown[192.168.100.1] Feb 1 08:53:57 linux postfix/local[3575]: 20F8BC036: to=<user@example.com>, relay=local, delay=0, status=sent (delivered to maildir) Feb 1 08:53:57 linux postfix/qmgr[2519]: 20F8BC036: removed Feb 1 08:54:03 linux pop3-login: Login: user [::ffff:192.168.100.1] Feb 1 08:56:48 linux last message repeated 2 times Feb 1 09:02:26 linux pop3-login: Login: user [::ffff:192.168.100.1] Feb 1 09:17:49 linux postfix/qmgr[2519]: B6360C016: from=<user@linux.example.com>, size=1403, nrcpt=1 (queue active) Feb 1 09:17:49 linux postfix/smtp[3591]: B6360C016: to=<user@docomo.ne.jp>, relay=none, delay=1515, status=deferred (Host or domain name not found. Name service error for name=docomo.ne.jp type=MX: Host not found, try again) Feb 1 09:49:33 linux postfix/pickup[2518]: AE917C038: uid=0 from=<root> Feb 1 09:49:33 linux postfix/cleanup[4237]: AE917C038: message-id=<20050201004933.AE917C038@linux.example.com> Feb 1 09:49:33 linux postfix/qmgr[2519]: AE917C038: from=<root@linux.example.com>, size=2153, nrcpt=1 (queue active) Feb 1 09:49:33 linux postfix/local[4241]: AE917C038: to=<user@linux.example.com>, orig_to=<root>, relay=local, delay=0, status=sent (delivered to maildir) Feb 1 09:49:33 linux postfix/qmgr[2519]: AE917C038: removed Feb 1 09:51:09 linux postfix/qmgr[2519]: B6360C016: from=<user@linux.example.com>, size=1403, nrcpt=1 (queue active) Feb 1 09:51:09 linux postfix/smtp[4410]: B6360C016: to=<user@docomo.ne.jp>, relay=none, delay=3515, status=deferred (Host or domain name not found. Name service error for name=docomo.ne.jp type=MX: Host not found, try again) Feb 1 09:59:12 linux postfix/smtpd[4412]: connect from unknown[192.168.100.1] Feb 1 09:59:12 linux postfix/smtpd[4412]: DC5DCC034: client=unknown[192.168.100.1], sasl_method=LOGIN, sasl_username=user@linux.example.com Feb 1 09:59:12 linux postfix/cleanup[4415]: DC5DCC034: message-id=<000901c507f8$09499bf0$0201a8c0@linux2> Feb 1 09:59:12 linux postfix/qmgr[2519]: DC5DCC034: from=<user@linux.example.com>, size=1370, nrcpt=1 (queue active) Feb 1 09:59:12 linux postfix/smtpd[4412]: disconnect from unknown[192.168.100.1] Feb 1 09:59:12 linux postfix/smtp[4416]: DC5DCC034: to=<user@yahoo.co.jp>, relay=none, delay=0, status=deferred (Host or domain name not found. Name service error for name=yahoo.co.jp type=MX: Host not found, try again) Feb 1 10:02:17 linux pop3-login: Login: user [::ffff:192.168.100.1] Feb 1 10:02:53 linux last message repeated 2 times お忙しい中大変申し訳ないのですがご教授いただければと思います。 よろしく御願いします。 | ||||||||
|
投稿日時: 2005-02-01 11:22
すいません。同じ質問をのせてしまいました。
| ||||||||
|
投稿日時: 2005-02-01 11:25
今日は。
と思われているならば、nslookupできちんと名前解決が出来ているか確認すれば良いのでは? ![]() | ||||||||
|
投稿日時: 2005-02-01 16:34
naoさま
お返事ありがとうございます。 digコマンドで一応やってはおりました。 [root@linux /]# dig yahoo.co.jp mx ; <<>> DiG 9.2.4 <<>> yahoo.co.jp mx ;; global options: printcmd ;; connection timed out; no servers could be reached [root@linux /]# [root@linux /]# dig yahoo.co.jp mx ; <<>> DiG 9.2.4 <<>> yahoo.co.jp mx ;; global options: printcmd ;; connection timed out; no servers could be reached [root@linux /]# dig docomo.ne.jp mx ; <<>> DiG 9.2.4 <<>> docomo.ne.jp mx ;; global options: printcmd ;; connection timed out; no servers could be reached 名前変換がうまくいってないようです。 resolve.confは下記で設定していますので問題ないようです。 search example.com nameserver 192.168.100.2 今気づいたのですが、/var/named/chroot/etcに rndc.keyはあるのですが、rndc.confが存在しません。 これを/etcからコピーしてきたらどうでしょうか? | ||||||||
|
投稿日時: 2005-02-01 23:30
192.168.100.2 とは? ここで DNS Server が動いているわけですか? DNS Client の設定が「正常」なのであれば, DNS Server か Server - Client 間の通信に問題が生じているのでは? ちなみに 192.168.100.2 が postfix が動いている host であれば, その postfix が最終的に「訊くべき相手」は他にいるでしょう? その場合はそもそも DNS の仕組みをまず,学ばれるべきでしょう. どうしてその resolver.conf が「正しい」と考えるかを説明しないと, 環境が良くわかりません.
まず,やってみたら宜しいでしょう. |
1