Re: PostfixとDevecotで受信ができない ( No.11 ) |
|
- æ¥æï¼ 2006/04/21 18:22
- ååï¼ root
- ご回答ありがとうございます!
まず私が進んだ手順ですが、
A
SMTPサーバの構築 + Dovecotサーバの構築を済ませております。 SMTP-Authユーザパスワードはユーザーアカウントと同じにしておりますので使用しておりません。
それ以外は大体見よう見まねで構築させて頂きましたので違った事はしておりません。
後の項目はとりあえず完成してからと思っておりましたのでまだ何も手を付けておりません。
B
サーバが置いてある箇所ではないWAN側のPCのOutlookを使用し ユーザー名がここではXXXだとし、 メールアドレス:xxx@Test-server.homeip.net POP3:Test-server.homeip.net SMTP:Test-server.homeip.net アカウント:xxx パスワード:ユーザーパスワード 認証に必要にチェック ユーザーアカウントと同じなので詳細は記載せず
で、私の携帯宛にTestメールを送信しました。 その結果、携帯にて無事受信はできましたのでまずSMTPクリア
そしてその携帯宛に来たメールアドレスに返信→見つかりませんエラー
と、なります。 勿論、PCからのメールも送信してみましたがそれもエラーでした。
|
Re: PostfixとDevecotで受信ができない ( No.12 ) |
|
- æ¥æï¼ 2006/04/21 18:34
- ååï¼ root
- C
Apr 21 16:32:15 Test-server postfix/anvil[10967]: statistics: max cache size 2 at Apr 21 16:28:55 Apr 21 16:38:01 Test-server postfix/postfix-script: stopping the Postfix mail system Apr 21 16:38:01 Test-server postfix/master[10949]: terminating on signal 15 Apr 21 16:38:01 Test-server dovecot: Killed with signal 15 Apr 21 16:39:00 main dovecot: Dovecot v1.0.beta2 starting up Apr 21 16:39:01 main dovecot: Generating Diffie-Hellman parameters for the first time. This may take a while.. Apr 21 16:39:02 main postfix/postfix-script: starting the Postfix mail system Apr 21 16:39:02 main postfix/master[1789]: daemon started -- version 2.2.8, configuration /etc/postfix Apr 21 16:39:22 main dovecot: SSL parameters regeneration completed Apr 21 16:48:39 main dovecot: pop3-login: Login: user=<xxx>, method=PLAIN, rip=222.228.191.163, lip=192.168.11.30 Apr 21 16:48:39 main dovecot: pop3(xxx): Logout. top=0/0, retr=0/ del=0/0, size=0 Apr 21 16:52:00 main postfix/postfix-script: stopping the Postfix mail system Apr 21 16:52:00 main postfix/master[1789]: terminating on signal 15 Apr 21 16:52:00 main dovecot: Killed with signal 15 Apr 21 16:52:58 main dovecot: Dovecot v1.0.beta2 starting up Apr 21 16:52:58 main dovecot: Generating Diffie-Hellman parameters for the first time. This may take a while.. Apr 21 16:52:59 main postfix/postfix-script: starting the Postfix mail system Apr 21 16:52:59 main postfix/master[1817]: daemon started -- version 2.2.8, configuration /etc/postfix Apr 21 16:53:18 main dovecot: SSL parameters regeneration completed Apr 21 16:53:36 main postfix/smtpd[2193]: connect from nmoPF02.ezweb.ne.jp[219.125.149.132] Apr 21 16:53:37 main postfix/smtpd[2193]: NOQUEUE: reject: RCPT from nmoPF02.ezweb.ne.jp[219.125.149.132]: 550 <xxx@Test-server.homeip.net>: Recipient addressrejected: User unknown in local recipient table; from=<keitai@ezweb.ne.jp> to=<xxx@Test-server.homeip.net> proto=SMTP helo=<nm11imap03.ezweb.ne.jp> Apr 21 16:53:37 main postfix/smtpd[2193]: disconnect from nmoPF02.ezweb.ne.jp[219.125.149.132] Apr 21 16:56:57 main postfix/anvil[2195]: statistics: max connection rate 1/60sfor (smtp:219.125.149.132) at Apr 21 16:53:36 Apr 21 16:56:57 main postfix/anvil[2195]: statistics: max connection count 1 for (smtp:219.125.149.132) at Apr 21 16:53:36 Apr 21 16:56:57 main postfix/anvil[2195]: statistics: max cache size 1 at Apr 21 16:53:36 Apr 21 16:58:41 main dovecot: pop3-login: Login: user=<xxx>, method=PLAIN, rip=222.228.191.163, lip=192.168.11.30 Apr 21 16:58:41 main dovecot: pop3(xxx): Logout. top=0/0, retr=0/ del=0/0, size=0 Apr 21 16:59:39 main postfix/smtpd[2406]: connect from nmoPF02.ezweb.ne.jp[219.125.149.132] Apr 21 16:59:40 main postfix/smtpd[2406]: NOQUEUE: reject: RCPT from nmoPF02.ezweb.ne.jp[219.125.149.132]: 550 <xxx@Test-server.homeip.net>: Recipient addressrejected: User unknown in local recipient table; from=<keitai@ezweb.ne.jp> to=<xxx@Test-server.homeip.net> proto=SMTP helo=<nm11imap03.ezweb.ne.jp> Apr 21 16:59:40 main postfix/smtpd[2406]: disconnect from nmoPF02.ezweb.ne.jp[219.125.149.132] Apr 21 17:03:00 main postfix/anvil[2408]: statistics: max connection rate 1/60s for (smtp:219.125.149.132) at Apr 21 16:59:39 Apr 21 17:03:00 main postfix/anvil[2408]: statistics: max connection count 1 for (smtp:219.125.149.132) at Apr 21 16:59:39 Apr 21 17:03:00 main postfix/anvil[2408]: statistics: max cache size 1 at Apr 21 16:59:39
ログの見方がわかりませんのでどうかご理解お願い致します m(。_。;))m ペコペコ それと少々公開のため内容編集しましたので変になってる場合もありますのでご理解下さい
|
Re: PostfixとDevecotで受信ができない ( No.13 ) |
|
- æ¥æï¼ 2006/04/21 18:36
- ååï¼ 管理者
- 情報、ありがとう御座いました。
一般的に多いのは、「受信できるけど送信できない」なんですよね・・・ 今回の場合はこの逆でサーバまで何らかのコネクトが無いのでログから推測する事ができませんね。 「みつかりません」が腑に落ちないのですが・・・
外部からメール送信しているので名前解決は完了しているものと思ってよいですね。 最初は、携帯側のDNSサーバが、まだrootさんのドメイン名を更新できていない為だと思ったのですがPCからもですよね?
PCも「見つかりません」と出たのですか?
もし可能であれば、一度PC宛に送信して届いたメールのヘッダ情報を公開できませんか? 勿論、IP等は隠蔽して構いませんので・・・
|
Re: PostfixとDevecotで受信ができない ( No.14 ) |
|
- æ¥æï¼ 2006/04/21 19:58
- ååï¼ root
- 本当に親密に考えて頂き感謝です!
まずクライアントPC(WAN側)より当サーバーメールへ送信した結果、返ってきたエラー文が以下です
This is the Postfix program at host mail.if-n.ne.jp.
I'm sorry to have to inform you that your message could not be be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can delete your own text from the attached returned message.
The Postfix program
<xxx@test-server.homeip.net>: host test-server.homeip.net[221.92.32.7] said: 550 <xxx@test-server.homeip.net>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)
更に以下がヘッダ情報です
Return-Path: <> X-Original-To: client@if-n.ne.jp Delivered-To: client@if-n.ne.jp Received: by mail.if-n.ne.jp (Postfix) id 108C280F3E; Fri, 21 Apr 2006 19:44:24 +0900 (JST) Date: Fri, 21 Apr 2006 19:44:24 +0900 (JST) From: MAILER-DAEMON@if-n.ne.jp (Mail Delivery System) Subject: Undelivered Mail Returned to Sender To: client@if-n.ne.jp MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="D51CA80F3B.1145616264/mail.if-n.ne.jp" Message-Id: <20060421104424.108C280F3E@mail.if-n.ne.jp>
これでよろしいでしょうか?
|
Re: PostfixとDevecotで受信ができない ( No.15 ) |
|
- æ¥æï¼ 2006/04/21 20:05
- ååï¼ root
- それともソースとあるほうですかね・・・
Return-Path: <> X-Original-To: client@if-n.ne.jp Delivered-To: client@if-n.ne.jp Received: by mail.if-n.ne.jp (Postfix) id 108C280F3E; Fri, 21 Apr 2006 19:44:24 +0900 (JST) Date: Fri, 21 Apr 2006 19:44:24 +0900 (JST) From: MAILER-DAEMON@if-n.ne.jp (Mail Delivery System) Subject: Undelivered Mail Returned to Sender To: client@if-n.ne.jp MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="D51CA80F3B.1145616264/mail.if-n.ne.jp" Message-Id: <20060421104424.108C280F3E@mail.if-n.ne.jp>
This is a MIME-encapsulated message.
--D51CA80F3B.1145616264/mail.if-n.ne.jp Content-Description: Notification Content-Type: text/plain
This is the Postfix program at host mail.if-n.ne.jp.
I'm sorry to have to inform you that your message could not be be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can delete your own text from the attached returned message.
The Postfix program
<xxx@test-server.homeip.net>: host test-server.homeip.net[221.92.32.7] said: 550 <xxx@test-server.homeip.net>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)
--D51CA80F3B.1145616264/mail.if-n.ne.jp Content-Description: Delivery report Content-Type: message/delivery-status
Reporting-MTA: dns; mail.if-n.ne.jp X-Postfix-Queue-ID: D51CA80F3B X-Postfix-Sender: rfc822; client@if-n.ne.jp Arrival-Date: Fri, 21 Apr 2006 19:44:22 +0900 (JST)
Final-Recipient: rfc822; xxx@test-server.homeip.net Action: failed Status: 5.0.0 Diagnostic-Code: X-Postfix; host test-server.homeip.net[221.aa.a.a] said: 550 <xxx@test-server.homeip.net>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)
--D51CA80F3B.1145616264/mail.if-n.ne.jp Content-Description: Undelivered Message Content-Type: message/rfc822
Received: from mail2 (mail2 [127.0.0.1]) by mail.if-n.ne.jp (Postfix) with SMTP id D51CA80F3B for <xxx@test-server.homeip.net>; Fri, 21 Apr 2006 19:44:22 +0900 (JST) Received: from w4d163.AFL4.vectant.ne.jp (222.a.a.a) by mail2 (F-Secure/virusgw_smtp/215/mail2); Fri, 21 Apr 2006 19:44:22 +0900 (JST) Message-ID: <000901c66530$a994e1a0$2000a8c0@client> From: "=?iso-2022-jp?B?GyRCLWo4Xj09TXIyMD4mRTkbKEI=?=" <client@if-n.ne.jp> To: <xxx@test-server.homeip.net> Subject: test Date: Fri, 21 Apr 2006 19:45:10 +0900 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C6657C.194D1530" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
This is a multi-part message in MIME format.
------=_NextPart_000_0005_01C6657C.194D1530 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit
test ------=_NextPart_000_0005_01C6657C.194D1530 Content-Type: text/html; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-2022-jp"> <META content=3D"MSHTML 6.00.2800.1522" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3D"MS UI Gothic" = size=3D2>test</FONT></DIV></BODY></HTML>
------=_NextPart_000_0005_01C6657C.194D1530--
--D51CA80F3B.1145616264/mail.if-n.ne.jp--
|