[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:10831] Re: fetchmail



 MOUE さん、こんにちは
 
  > Plamo(お勧め)の場合defaultで、sendmail は -q15 で起動ですよね。
  > 送信に失敗したメール(queueに残ったもの)は、15分おきに再送を試み
  > て、5日間過ぎたものはqueueから削除される、と思ってるのですが正し
  > いでしょうか?
  > (今回の場合は、すでに10日近くですねぇ。)

よく見ると、メールは2回届いていたようですね。

  > それから、送信に失敗した場合、Mailer Daemon から error message
  > が来ると思っていましたが、そもそも Connection が確立されなかった
  > 場合は、来ないんでしょうか?

  > 以前に何回か、error message を受けとって失敗に気がついたことが
  > あったもので。^^;

相手のアドレスを間違った書いた場合には、
自分宛にMailer Daemon から error messageがありますよね。
 rejected している場合は、そういうメールはないです。
受信するときに、こういうのを眺めていて、rejected されるメールがあると
そのときにわかる。その記録は /var/adm/messages に残る。

3 messages for jeanne at mbox.kyoto-inet.or.jp (7251 octets).
reading message 1 of 3 (2799 octets) .. flushed

今回のは、rejected  した後、そのメールが相手先にちゃんと返送できないという
状態になったみたいですね。

で、ちょっと細かく見てみました(少し長くなってごめんなさい)

(最初の受信)
Aug  9 10:01:25 harry sendmail[265]: KAA00265: from=<bizop@btamail.net.cn>, size=6508, class=0, pri=36508, nrcpts=1, msgid=<076c85159100881BLUE@blue>, bodytype=8BITMIME, proto=ESMTP, relay=jeanne@localhost [127.0.0.1]
(メール)
08/10 bizop@btamail.net Fast, Free, Instant Life Insurance Quotes<<<html>

ここでbizop@btamail.net.cn を spamlist に加えたので、
次に届いたメールは rejected している。
(rejected)
Aug 15 10:31:56 harry sendmail[286]: KAA00286: ruleset=check_mail, arg1=<bizop@btamail.net.cn>, relay=jeanne@localhost [127.0.0.1], reject=553 <bizop@btamail.net.cn>... Message from bizop@btamail.net.cn rejected

Aug 15 10:31:56 harry sendmail[286]: KAA00286: from=<bizop@btamail.net.cn>, size=0, class=0, pri=0, nrcpts=0, proto=ESMTP, relay=jeanne@localhost [127.0.0.1]

Aug 15 10:45:06 harry sendmail[291]: KAA00289: to=<bizop@btamail.net.cn>, delay=00:13:10, xdelay=00:13:10, mailer=smtp, relay=btamail.net.cn. [202.106.196.70], stat=Deferred: Connection timed out with btamail.net.cn.

(以下Connection timed out の記録)
Aug 15 11:43:25 harry sendmail[399]: KAA00289: to=<bizop@btamail.net.cn>,

Aug 15 16:08:50 harry sendmail[88]: KAA00289: to=<bizop@btamail.net.cn>, 

Aug 15 21:04:14 harry sendmail[88]: KAA00289: to=<bizop@btamail.net.cn>, 

Aug 15 22:59:29 harry sendmail[88]: KAA00289: to=<bizop@btamail.net.cn>,

Aug 16 12:50:24 harry sendmail[88]: KAA00289: to=<bizop@btamail.net.cn>, 

Aug 17 00:04:55 harry sendmail[88]: KAA00289: to=<bizop@btamail.net.cn>, 

Aug 17 00:32:31 harry sendmail[460]: KAA00289: to=<bizop@btamail.net.cn>, 

Aug 17 18:33:14 harry sendmail[88]: KAA00289: to=<bizop@btamail.net.cn>,

Aug 17 19:03:14 harry sendmail[508]: KAA00289: to=<bizop@btamail.net.cn>,

Aug 18 00:17:49 harry sendmail[88]: KAA00289: to=<bizop@btamail.net.cn>,

Aug 18 00:47:49 harry sendmail[273]: KAA00289: to=<bizop@btamail.net.cn>, 

Aug 18 01:16:39 harry sendmail[307]: KAA00289: to=<bizop@btamail.net.cn>, 

Aug 18 01:47:42 harry sendmail[310]: KAA00289: to=<bizop@btamail.net.cn>, 

Aug 18 02:17:42 harry sendmail[315]: KAA00289: to=<bizop@btamail.net.cn>, 

Aug 18 10:42:39 harry sendmail[88]: KAA00289: to=<bizop@btamail.net.cn>, 

Aug 18 11:12:45 harry sendmail[289]: KAA00289: to=<bizop@btamail.net.cn>,

Aug 18 11:42:31 harry sendmail[373]: KAA00289: to=<bizop@btamail.net.cn>, 

●ここで stat=Sent で送信してる。
Aug 18 12:06:43 harry sendmail[412]: KAA00289: to=<bizop@btamail.net.cn>, delay=3+01:34:47, xdelay=00:07:23, mailer=smtp, relay=btamail.net.cn. [202.106.196.70], stat=Sent (Requested mail action okay, completed.)

● rejected してる。
Aug 23 23:27:55 harry sendmail[221]: XAA00221: ruleset=check_mail, arg1=<bizop@btamail.net.cn>, relay=jeanne@localhost [127.0.0.1], reject=553 <bizop@btamail.net.cn>... Message from bizop@btamail.net.cn rejected

Aug 23 23:27:55 harry sendmail[221]: XAA00221: from=<bizop@btamail.net.cn>, size=0, class=0, pri=0, nrcpts=0, proto=ESMTP, relay=jeanne@localhost [127.0.0.1]

また Connection timed out の記録が続く
Aug 24 10:14:27 harry sendmail[88]: XAA00224: to=<bizop@btamail.net.cn>, delay=10:46:32, xdelay=00:13:16, mailer=smtp, relay=btamail.net.cn. [202.106.196.70], stat=Deferred: Connection timed out with btamail.net.cn.

Aug 24 14:06:24 harry sendmail[88]: XAA00224: to=<bizop@btamail.net.cn>,

Aug 24 16:25:15 harry sendmail[88]: XAA00224: to=<bizop@btamail.net.cn>,

Aug 24 20:52:35 harry sendmail[88]: XAA00224: to=<bizop@btamail.net.cn>, 

Aug 24 23:20:24 harry sendmail[88]: XAA00224: to=<bizop@btamail.net.cn>, 

Aug 25 00:05:21 harry sendmail[336]: XAA00224: to=<bizop@btamail.net.cn>,

Aug 25 00:35:21 harry sendmail[475]: XAA00224: to=<bizop@btamail.net.cn>,

●この後fetchmail をバージョンアップする。


 rejected するメールであっても、一度受信した後に
そのメールを受け取りませんという形で返送するから、
Aug 15 10:45:06 harry sendmail[291]: KAA00289: to=<bizop@btamail.net.cn>, delay=00:13:10, xdelay=00:13:10, mailer=smtp, relay=btamail.net.cn. [202.106.196.70], stat=Deferred: Connection timed out with btamail.net.cn.
こういう記録は、相手先がその返送メールを(なぜか)受信してくれない状態に
なっているということなのだろうか。
私のほうから何度か返送を試みていて、
ここで返送ができている。
●ここで stat=Sent で送信してる。
Aug 18 12:06:43 harry sendmail[412]: KAA00289: to=<bizop@btamail.net.cn>, delay=3+01:34:47, xdelay=00:07:23, mailer=smtp, relay=btamail.net.cn. [202.106.196.70], stat=Sent (Requested mail action okay, completed.)

するとまたメールが送られてきて、rejected するけれど、
相手先が返送メールをちゃんと受け取らないという状態になるので、
私のほうはまた返送を繰り返してる。
● rejected してる。
Aug 23 23:27:55 harry sendmail[221]: XAA00221: ruleset=check_mail, arg1=<bizop@btamail.net.cn>, relay=jeanne@localhost [127.0.0.1], reject=553 <bizop@btamail.net.cn>... Message from bizop@btamail.net.cn rejected

queue に怪しいメールが作られているのかと思っていたけれど、
bizop@btamail.netからは2回メールが届いていて、
(1)Aug  9 10:01:25
(2)Aug 23 23:27:55 

(1)のメールでの返送が Aug 18 12:06:43  に完了して、
(2)のメールの返送が繰り返されているときに、おかしいと気がついた。

実際、私のほうから送信しようとしていたメールの内容は、
次のようなもの
 rejected したという知らせを正常に返送できない理由は
Invalid address. ってことになりますよね。

だから fetchmail には問題はなかったのだと思います。

-------------------------------
--om-mani-padme-hum-216-210-998576875
Content-Type: text/plain

Invalid address.


--om-mani-padme-hum-216-210-998576875
Content-Type: message/delivery-status

Reporting-MTA: dns; localhost

Final-Recipient: rfc822; jeanne
Last-Attempt-Date: Thu, 23 Aug 2001 23:27:55 +0900 (JST)
Action: failed
Status: 5.0.0
Diagnostic-Code: 553 <bizop@btamail.net.cn>... Message from bizop@btamail.net.cn rejected

--om-mani-padme-hum-216-210-998576875
Content-Type: text/rfc822-headers

Received: from hm22.locaweb.com.br (hm22.locaweb.com.br [200.246.179.122])
	by beehive.twics.com (8.9.1/8.9.1) with ESMTP id XAA29376;
	Thu, 23 Aug 2001 23:11:23 +0900 (JST)
From: bizop@btamail.net.cn
Received: from insites.com ([200.189.78.68]) by hm22.locaweb.com.br with Microsoft SMTPSVC(5.0.2195.3779);
	 Thu, 23 Aug 2001 11:11:09 -0300
Received: from 63.232.117.193 ([63.232.117.193]) by insites.com
          with SMTP (Mailtraq/1.1.5.1167) id INST10351A547;
          Thu, 23 Aug 2001 11:09:35 -0300
To: <wv8ciag4ek@hotmail.com>
Subject: Latest Michael Jackson Newsflash
Message-ID: <INST10351A54A@insites.com>
Date: Thu, 23 Aug 2001 23:14:01 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-Hops: 1
X-OriginalArrivalTime: 23 Aug 2001 14:11:09.0238 (UTC) FILETIME=[74EA8D60:01C12BDD]
X-UIDL: e57a5ddd4a8d21def2ad8f1153bcb27c

--om-mani-padme-hum-216-210-998576875--

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

中谷千絵

Follow-Ups
[plamo:10833] Re: fetchmail, MOUE Kiyoshi
References
[plamo:10778] Re: fetchmail, MOUE Kiyoshi

[検索ページ] [メール一覧]
Plamo ML 公開システム