• 締切済み

Postfixが何通も同じメールを送ってしまう。

日本から海外にメールを送る際、先方から、何通も 同じメールが届いているという苦情を聞きました。 日本拠点メールサーバ:postfix 2.1.4 海外拠点メールサーバ:Microsoft SMTPSVC(6.0.3790.211)←メールヘッダから 日本側のメールサーバのログを調べたところ、以下のようなログが 見当たりました。 Apr 19 09:05:35 dns1 postfix/smtp[5758]: [ID 197553 mail.info] C2E9310DE: to=*********, relay=mail.*****.com[************], delay=998, status=deferred (conversation with mail.*********.com[************] timed out while sending end of data -- message may be sent more than once) Apr 19 09:44:57 dns1 postfix/smtp[5882]: [ID 197553 mail.info] C2E9310DE: to=******, relay=mail.*****.com[*********],delay=3360, status=deferred (conversation with mail.*****.com[************] timed out while sending end ofdata -- message may be sent more than once) Apr 19 11:08:13 dns1 postfix/smtp[6095]: [ID 197553 mail.info] C2E9310DE:to=******,relay=mail.*****.com[*********],delay=8356, status=deferred (conversation with mail.******.com[*********] timed out while sending end of data-- message may be sent more than once) 日本側のメールサーバでは、タイムアウトと認識し、再送を試みているようなのですが、実際には、毎回相手側に届いており、複数通のメールが送られる結果になった模様です。 これは、日本のPostfixに問題があるためでしょうか? 正常にメールをやり取りしたいのですが、どなたか、解法をご存知の方がいらっしゃいましたら、ご教授ください。

みんなの回答

  • agharta
  • ベストアンサー率52% (54/103)
回答No.1

C2E9310DEでgrepを実行すると、もっと違うログが出てくると思います。 なぜ、timeoutになっている原因を探りたいですね。

関連するQ&A

  • postfixでdocomo.ne.jpに送信できない。

    新たな問題が発生したので、質問させていただきます。 よろしくお願いします。 上記のとおり、ドコモ携帯のメアドにメールが送信出来なくて困っています。 fedora 3,postfix,dovecotでサーバを立ててます。 普通のアドレス(yahoo等)には送信できます。 ドコモの携帯は迷惑メール設定を解除してあります。 ログはこのようになっています。 Sep 12 16:58:20 testnet postfix/qmgr[30393]: 2792BD6E30: to=<xxxx@docomo.ne.jp>, relay=none, delay=7081, status=deferred (delivery temporarily suspended: connect to mfsmax.docomo.ne.jp[203.138.181.112]: Connection timed out)です。 また Sep 12 16:31:13 testnet postfix/smtp[30235]: 2CB93D6F88: to=<xxxx@docomo.ne.jp>, relay=none, delay=22, status=deferred (connect to mfsmax.docomo.ne.jp[203.138.181.112]: No route to host) とも出ます。 /etc/sysconfig/networkは networking=yes あとはゲートウェイとホストネームが入力されてます。 関係ないとは思いますが、一応/etc/resolv.confにも プロバイダのDNSサーバを入力しています。 また、不正中継リストのテストではデータベースに 載っていませんでした。 よろしくお願いします。

  • POSTFIXでメールが送れない。ログ解析も不明

    POSTFIXサーバーからAU携帯向けにメールを送ったが届かないということで、ログを調べたところ、下記のログが有り、status=sentになっているが、その後半にDISCARD(bounce.suppressed)となっていました。これはsent になっていても、送られていないという意味なのでしょうか。 OSはCENT OS MTAはPOSTFIXを使っております。ご存じの方がお見えでしたら、ご教示願えれば幸いです。 maillog.1:Nov 17 17:43:21 (サーバー名) postfix/smtp[3028]: AA0E25A152F: to=<送信先アドレス@ezweb.ne.jp>, relay=127.0.0.1[127.0.0.1]:10024, conn_use=6, delay=16, delays=0.02/15/0/0.08, dsn=2.5.0, status=sent (250 2.5.0 Ok, id=03287-01-6, DISCARD(bounce.suppressed))

  • postfixから不正なメールが送信されているようです

    postfixで自前のメールサーバを運用していますが、このサーバから大 量のスパムが送信されいるようです。いろいろ調べたのですが原因を特定できません。どなたか助言をお願いします。 ・OS:Mac OS X (10.3.9) ・メールサーバ:postfix version 2.0.10 ・imapサーバ:postfix enabler(1.1.6)に付属のもの ・メールクライアント:Mail 1.3.11 (v622/623)(本現象はクライアントの起動の 有無には関わらないようです) ・ウイルスチェック:Norton Unti Virusでチェックし問題なし ・不正中継チェック:http://www.rbl.jp/を利用させて頂いて問題なし ・問題の詳細:ログの見方を完全には理解していませんが、localホストからメールを送信しているようです。 【ログ(1)】 下記のようなログが大量に出力され、incomingディレクトリにも大量のメールがたまってしまいます。 toやfromのアドレス(xxx@yyy)には様々なアドレスが設定されています。zzz[ip]の部分はISPのメールサーバ(リレー先)のアドレスです。またqqq[ip]は自分のサーバです。 Apr 29 17:33:13 localhost postfix/qmgr[582]: 44B811555F3: from=<xxx@yyy>, size=5212, nrcpt=5 (queue active) Apr 29 17:33:13 localhost postfix/smtp[232]: AFC9E1555F1: to=<xxx@yyy>, relay=zzz[ip], delay=2, status=sent (250 Ok: queued as 09BD52DC8) Apr 29 17:33:13 localhost postfix/smtpd[227]: EE6901555F4: client=qqq[ip] Apr 29 17:33:14 localhost postfix/smtp[233]: 927421555F2: to=<xxx@yyy>, relay=zzz[ip], delay=2, status=sent (250 Ok: queued as A0FFB3000) 明日から数日不在になりますのでレスが少々遅くなりますが、どうぞよろしくお願い致します。

  • postfixのログの見方について

    postfixで転送しているとき、下記のログがでます。 ---------------------------------------------------- ①Jul 16 17:35:27 ns1 postfix/pipe[20167]: 1540F40A5F12: to=<宛先のメールアドレス>, relay=procmail, delay=0.02, delays=0.01/0.01/0/0, dsn=2.0.0, status=sent (delivered via procmail service) ②Jul 16 17:35:27 ns1 postfix/pipe[20167]: 1540F40A5F12: to=<転送先のメールアドレス>, orig_to=<宛先のメールアドレス>, relay=procmail, delay=0.02, delays=0.01/0.01/0/0, dsn=2.0.0, status=sent (delivered via procmail service) ③Jul 16 17:35:27 ns1 postfix/pipe[20167]: 1540F40A5F12: to=<転送先のメールアドレス>, relay=procmail, delay=0.02, delays=0.01/0.01/0/0, dsn=2.0.0, status=sent (delivered via procmail service) ---------------------------------------------------- ①ではprocmailで元々の宛先のメールアドレスに配送しています。 ②③では転送先のメールアドレスにメールを転送しているように見受けられます。 1通のみ転送すればよいのですが、2通転送しているという意味でしょうか。 実際は、転送先には1通のみ届ています。 ②と③の違い、2つログがでる理由がわかれば、教えていただけないでしょうか。

  • postfixでプララをリレーさせる方法

    プロバイダにプララをつかっています。 PHPからのプログラムを使い、メール送信を試みているのですが、 どうもプララの認証部分がうまくいっていないようでエラーとなります。 (PHPの質問ではなく、postfixよりの質問と考えこちらにしています) メール送信すると、下記のエラーが出力されます----------------------------------- postfix/qmgr[5547]: 4F0CC1C011: from=<webmaster@my-company.com>, size=652, nrcpt=1 (queue active) postfix/smtp[5564]: connect to peach.mail.plala.or.jp[58.93.255.16]: Connection timed out (port 25) postfix/smtp[5564]: 4F0CC1C011: to=<hogehoge@docomo.ne.jp>, relay=none, delay=30, delays=0.23/0/30/0, dsn=4.4.1, status=deferred (connect to peach.mail.plala.or.jp[58.93.255.16]: Connection timed out) 設定は以下の通りにしてあります。 /etc/postfix/main.cf----------------------------------- smtp_sasl_type = cyrus smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = relayhost = [peach.mail.plala.or.jp] mynetworks = 192.168.11.0/24, 127.0.0.0/8 /etc/postfix/sasl_password----------------------------------- [peach.mail.plala.or.jp]:25 ユーザID@plala.or.jp:パスワード ※plala.or.jp = インターネット接続用サーバ ※peach.mail.plala.or.jp = SMTPサーバ 原因などわかれば教えていただきたいです。 よろしくお願いします。

  • Linuxからのメール送信について

    CentOS6.4を使っております。会社のネットワーク規制によりメール関係で465と995ポートの送信のみ(一方通行)しかできない状況で、サーバーのroot宛てメールをGmailに転送できないかと思っております。 いくつか関係するサイトを拝見して自分なりに設定をしてみたのですが、Sendmail,Postfix,SSMTPなどすべて失敗してしまいます…。 HTTPサーバーを立てて、汎用のメール送信PHPプログラムからは正常に送信でき、またLinux用のメーラーでもGmailアカウントを設定して送信できました。 ログを見ると、 Oct 2 16:50:42 svr0 postfix/smtp[10045]: E74A840A08: to=<XXXXX@gmail.com>, orig_to=<root@localhost>, relay=smtp.gmail.com[173.194.79.108]:465, delay=170214, delays=169613/0.1/600/0, dsn=4.4.2, status=deferred (conversation with smtp.gmail.com[173.194.79.108] timed out while receiving the initial server greeting) と吐き出しています。 どなた様か対処法をご教授願えますでしょうか?宜しくお願いします。

  • Postfixでメールがおくれない。

    こんにちは, 今Postfixでメールを送ろうと思っています。 内部へのメールと外部へのメールを送りたいのですが, $mail user1 Subject: test test sentence. . CC: $ としても user1のメールメッセージには送られておらず,また, $mail user1.goo.ne.jp Subject: test test sentence. . CC: $ としてもuser1.goo.ne.jpに届いていません。 おそらく,/var/log/maillogをみると, PCNAME postfix/smtp[18514]: 065A92683C3: to=<user1@PCNAME>, relay=none, delay=10, status=deferred (Host or domain name not found. Name service error for name=PCNAME type=MX: Host not found, try again) とかいてあるので,DNSサーバーとかの設定がたりないか,main.cfの設定がたりないのかと思います。 どうすればよろしいでしょうか。 初心者質問で申し訳ありません。よろしくお願いします。

  • Postfixで外部にメールが送信できません。

    redhatLinux9でプライマリDNSを自分で構築。 Postfix-1.1.11-11にてメールサーバを構築しております。 Postfixにて内部宛のメール送受信は可能ですが、 外部宛のメールが送受信できません。 mail ***@hotmail.comへメールを送信すると /var/log/maillogには Jun 15 17:44:26 ns postfix/smtp[2547]: 0D6F9152C96: to=<****@hotmail.com>, relay=mx3.hotmail.com[65.54.245.72], delay=38, status=deferred (lost connection with mx3.hotmail.com[65.54.245.72] while sending HELO) ↓ Jun 15 19:00:52 ns postfix/nqmgr[2682]: 4743A152C76: from=<>, size=2023, nrcpt=1 (queue active) Jun 15 19:00:52 ns postfix/local[2785]: 4743A152C76: to=<postfix@ABCDE.gr.jp>, relay=local, delay=0, status=sent (mailbox) ************************** /var/spool/mail/postfixは --0D6F9152C96.1150365383/ns.ABCDE.gr.jp Content-Description: Notification Content-Type: text/plain This is the Postfix program at host ns.ABCDE.gr.jp. I'm sorry to have to inform you that the message returned below could not be delivered to one or more destinations. 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 message returned below. The Postfix program <**@hotmail.com>: lost connection with mx2.hotmail.com[65.54.244.40] while sending HELO 文字数の制限でここまでしか記述できませんでした。 長々記述しましたが、お分かりになる方、お教えください。お願いいたします。

  • Postfixでキューが溜まる

    Postfixについてご教示下さい。 OS:RedHatES3 SMTP:postfix-2.0.16-14.RHEL3 Pop及びIMAP:Redhat標準のもの(Xinetdで動作) 現在数千アカウントを管理しているSMTP/IMAPサーバで とある1ユーザのみ、このユーザ宛のメールがキューに溜まり メールボックスまで配送されていないようです。 ログを見ると以下の様なものが見受けられます。 /var/log/maillog Apr 21 19:56:XX MAILSERVER postfix/local[7684]: 3DB403XXXXX: to=<aaaa@bbb.jp>, relay=local, delay=11723, status=deferred (cannot access mailbox /var/mail/aaaa for user aaaa. unable to create lock file /var/mail/aaaa.lock: File exists) Apr 21 19:56:XX MAILSERVER postfix/local[7645]: B759D3XXXXX: to=<aaaa@tcue.ac.jp>, relay=local, delay=190, tatus=deferred (cannot access mailbox /var/mail/aaaa for user aaaa. unable to lock for exclusive access: Resource temporarily unavailable) またキューを見ると以下の様なものが十数件溜まってます。 # mailq 4417D34XXXX 321 Mon Apr 21 19:02:XX root@bbbb.jp (cannot access mailbox /var/mail/aaaa for user aaaa. unable to lock for exclusive access: Resource temporarily unavailable) aaaa@bbbb.jp IMAPで見るとこのユーザのmailboxの中身は見ることが出来ます。 aaaa@bbbb.jp宛にメールを送るとキューに溜まってしまいます。 その他のユーザは全て正常で、このユーザについても つい先週までは問題が無く、急にこの様な状態になりました。 キューに溜まらず正常にメールボックスまで配送されるようにしたいのですが、解決策が分からず困っております。 解決する方法をご教示いただけると助かります。 不足する情報等御座いましたら随時追加させて戴きます。 宜しくお願いを申し上げます。

  • postfixでdocomoやyahooなどのメールアドレスに送信できない

    FedoraCore3でpostfixを使って自宅サーバを立ち上げているのですが、Docomoの携帯メールアドレスやyahoo.co.jp、ybb.ne.jpなどのメールアドレスにメールが送信できないんです。 他のメールアドレス(会社のアドレス*****.co.jp)には送信できますし、LAN内外からのサーバアドレス同士には送受信ともできます。また、受け取る事はどこからでも(yahoo.co.jp、ybb.ne.jp、DoCoMoからでも)できます。 メールのエラーログには以下のように記載されています。 May 23 17:45:23 ***** postfix/qmgr[15495]: warning: connect to transport smtp-amavis: Connection refused May 23 17:45:33 ***** postfix/smtp[15606]: connect to yahoo.co.jp [210.80.243.14]: Connection timed out (port 25) May 23 17:45:33 ***** postfix/smtp[15606]: 954001400EA: to=<*****@yahoo.co.jp>, relay=none, delay=2636, status=deferred (connect to yahoo.co.jp[210.80.243.14]: Connection timed out) また、返信されるエラーメッセージは This is the Postfix program at host *****. 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 <*****@yahoo.co.jp>: connect to yahoo.co.jp[210.81.150.5]: Connection timed out となっています。 現在、自己解決できずに困っています。 どなたか解決方法をご存知の方ご教授願えませんでしょうか?