fetchmail again
прошу сообшество помочь разобраться в следующей ситуации:
есть fetchmail.
cat /etc/fetchmailrc
set logfile /var/log/fetchmail.debug
set postmaster "damir"
set no bouncemail
set daemon 300
poll mail.astranet.ru
proto pop3
port 110
localdomains agg.astranet.ru
#envelope "Delivered-To:"
user "user"
pass "secret"
to * here
fetchall
smtphost localhost/25
Вот это письмо было доставлено правильно:
Return-path: <gluck@mail.subscribe.ru>
Envelope-to: kundor@agg.astranet.ru
Received: from localhost ([127.0.0.1] ident=root)
by mailserv.agg with esmtp (Exim 3.36 #1 (Debian))
id 1EBsJo-0003WR-00
for <kundor@agg.astranet.ru>; Sun, 04 Sep 2005 15:05:48 +0400
Delivered-To: agg@astranet.ru
Received: from mail.astranet.ru [62.183.104.13]
by localhost with POP3 (fetchmail-6.2.5)
for kundor@agg.astranet.ru (multi-drop); Sun, 04 Sep 2005 15:05:48 +0400 (MSD)
Received: (qmail 69390 invoked by uid 89); 4 Sep 2005 11:08:55 -0000
Delivered-To: kundor@agg.astranet.ru
Received: (qmail 69385 invoked by uid 1025); 4 Sep 2005 11:08:55 -0000
Received: from unknown (HELO gato90.subscribe.ru) (81.222.129.90)
by mail.astranet.ru with SMTP; 4 Sep 2005 11:08:49 -0000
Received: id EC5C2F080313; Sun, 4 Sep 2005 15:08:45 +0400
X-Felis-Queue-Id: 20050904150844
Precedence: normal
List-Id: <comp.soft.prog.vbforbeginprof.subscribe.ru>
List-Help: <http://subscribe.ru/catalog/comp.soft.prog.vbforbeginprof>
List-Subscribe: <mailto:comp.soft.prog.vbforbeginprof-sub@subscribe.ru>
List-Unsubscribe: <mailto:comp.soft.prog.vbforbeginprof-unsub@subscribe.ru>
List-Archive: <http://subscribe.ru/archive/comp.soft.prog.vbforbeginprof>
List-Owner: <mailto:ask@subscribe.ru>
List-Post: NO
Message-Id: <20050904150306.hwi.4690847@comp.soft.prog.vbforbeginprof.subscribe>
Date: Sun, 4 Sep 2005 15:03:06 +0400
From: "Subscribe.Ru" <namma4690847@subscribe.ru>
To: "comp.soft.prog.vbforbeginprof" <kundor@agg.astranet.ru>(4690847)
Subject: =?windows-1251?Q?=56isual=20=42asic=20=E4=EB=FF=20?=
=?windows-1251?Q?=ED=EE=E2=E8=F7=EA=EE=E2=20=E8=20?=
=?windows-1251?Q?=EF=F0=EE=F4=E5=F1=F1=E8=EE=ED=E0=EB=EE=E2?=
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="=felis-attach=20050904150629=6211"
X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.astranet.ru
X-Spam-Level: *
X-Spam-Status: No, score=1.9 required=5.0 tests=AWL,BAYES_00,
FROM_ENDS_IN_NUMS,HTML_40_50,HTML_BADTAG_00_10,HTML_MESSAGE,
MIME_HTML_ONLY,WEIRD_QUOTING autolearn=no version=3.0.4
X-UIDL: V09"!,Fa!!'G+"!6m(!!
Вот логи (не этого, но токого-же, успешно доставленного письма)
fetchmail: reading message agg@mail.astranet.ru:1 of 5 (141909 octets)
fetchmail: About to rewrite Return-Path: <gluck@mail.subscribe.ru>
Rewritten version is Return-Path: <gluck@mail.subscribe.ru>
fetchmail: analyzing Received line:
Received: (qmail 85247 invoked by uid 89); 8 Sep 2005 11:08:23 -0000
fetchmail: line accepted, uid is an alias of the mailserver
fetchmail: no Received address found
fetchmail: analyzing Received line:
Received: (qmail 85242 invoked by uid 1025); 8 Sep 2005 11:08:23 -0000
fetchmail: line accepted, uid is an alias of the mailserver
fetchmail: no Received address found
fetchmail: analyzing Received line:
Received: from unknown (HELO gato42.subscribe.ru) (81.222.129.42)
by mail.astranet.ru with SMTP; 8 Sep 2005 11:08:19 -0000
fetchmail: line accepted, mail.astranet.ru is an alias of the mailserver
fetchmail: no Received address found
fetchmail: analyzing Received line:
Received: id AC0AA30BA22A; Thu, 8 Sep 2005 15:07:10 +0400
fetchmail: no Received address found
fetchmail: About to rewrite From: "Subscribe.Ru" <namma4690847@subscribe.ru>
Rewritten version is From: "Subscribe.Ru" <namma4690847@subscribe.ru>
fetchmail: About to rewrite To: "rest.cinema.spbvideo" <kundor@agg.astranet.ru>(4690847)
Rewritten version is To: "rest.cinema.spbvideo" <kundor@agg.astranet.ru>(4690847)
fetchmail: passed through kundor@agg.astranet.ru matching agg.astranet.ru
fetchmail: SMTP< 220 mailserv.agg ESMTP Exim 3.36 #1 Thu, 08 Sep 2005 15:10:29 +0400
fetchmail: SMTP> EHLO localhost
А вот письмо которое, было перенаправлено с домена mail.ru:
Return-path: <evarlamova@bk.ru>
Envelope-to: damir@localhost #завернулось постмастеру
Delivery-date: Thu, 08 Sep 2005 11:28:33 +0400
Received: from localhost ([127.0.0.1] ident=root)
by mailserv.agg with esmtp (Exim 3.36 #1 (Debian))
id 1EDGpl-000327-00
for <damir@localhost>; Thu, 08 Sep 2005 11:28:33 +0400
Delivered-To: agg@astranet.ru
Received: from mail.astranet.ru [62.183.104.13]
by localhost with POP3 (fetchmail-6.2.5)
for damir@localhost (multi-drop); Thu, 08 Sep 2005 11:28:33 +0400 (MSD)
Received: (qmail 77419 invoked by uid 89); 8 Sep 2005 07:28:11 -0000
Delivered-To: kundor@agg.astranet.ru
Received: (qmail 77414 invoked by uid 1025); 8 Sep 2005 07:28:11 -0000
Received: from unknown (HELO f32.mail.ru) (194.67.57.71)
by mail.astranet.ru with SMTP; 8 Sep 2005 07:28:11 -0000
Received: from mail by f32.mail.ru with local
id 1EDGpd-0006kd-00
for kundor@agg.astranet.ru; Thu, 08 Sep 2005 11:28:25 +0400
X-ResentFrom: <kundor@mail.ru>
Received: from mail by f32.mail.ru with local
id 1EDGpd-0006ka-00
for kundor@mail.ru; Thu, 08 Sep 2005 11:28:25 +0400
Received: from [217.23.81.6] by win.mail.ru with HTTP;
Thu, 08 Sep 2005 11:28:25 +0400
From: =?koi8-r?Q?=E5=CC=C5=CE=C1=20=F7=C1=D2=CC=C1=CD=CF=D7=C1?= <evarlamova@bk.ru>
To: Kundor <kundor@mail.ru>
Subject: Re[5]: your mail
Mime-Version: 1.0
X-Mailer: mPOP Web-Mail 2.19
X-Originating-IP: [217.23.81.6]
Date: Thu, 08 Sep 2005 11:28:25 +0400
In-Reply-To: <558271501.20050907224844@mail.ru>
Reply-To: =?koi8-r?Q?=E5=CC=C5=CE=C1=20=F7=C1=D2=CC=C1=CD=CF=D7=C1?= <evarlamova@bk.ru>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 8bit
Message-Id: <E1EDGpd-0006ka-00.evarlamova-bk-ru@f32.mail.ru>
X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.astranet.ru
X-Spam-Level:
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00 autolearn=ham
version=3.0.4
X-Fetchmail-Warning: recipient address kundor@mail.ru didn't match any local name
X-UIDL: Mn["!K:a!!#$Q!!e\h"!
Вот логи фетчмайла:
fetchmail: reading message agg@mail.astranet.ru:1 of 3 (2328 octets)
fetchmail: About to rewrite Return-Path: <evarlamova@bk.ru>
Rewritten version is Return-Path: <evarlamova@bk.ru>
fetchmail: analyzing Received line:
Received: (qmail 77419 invoked by uid 89); 8 Sep 2005 07:28:11 -0000
fetchmail: line rejected, uid is not an alias of the mailserver
fetchmail: analyzing Received line:
Received: (qmail 77414 invoked by uid 1025); 8 Sep 2005 07:28:11 -0000
fetchmail: line rejected, uid is not an alias of the mailserver
fetchmail: analyzing Received line:
Received: from unknown (HELO f32.mail.ru) (194.67.57.71)
by mail.astranet.ru with SMTP; 8 Sep 2005 07:28:11 -0000
fetchmail: line accepted, mail.astranet.ru is an alias of the mailserver
fetchmail: no Received address found
fetchmail: analyzing Received line:
Received: from mail by f32.mail.ru with local
id 1EDGpd-0006kd-00
for kundor@agg.astranet.ru; Thu, 08 Sep 2005 11:28:25 +0400
fetchmail: line rejected, f32.mail.ru is not an alias of the mailserver
fetchmail: analyzing Received line:
Received: from mail by f32.mail.ru with local
id 1EDGpd-0006ka-00
for kundor@mail.ru; Thu, 08 Sep 2005 11:28:25 +0400
fetchmail: line rejected, f32.mail.ru is not an alias of the mailserver
fetchmail: analyzing Received line:
Received: from [217.23.81.6] by win.mail.ru with HTTP;
Thu, 08 Sep 2005 11:28:25 +0400
fetchmail: line rejected, win.mail.ru is not an alias of the mailserver
fetchmail: About to rewrite From: =?koi8-r?Q?=E5=CC=C5=CE=C1=20=F7=C1=D2=CC=C1=CD=CF=D7=C1?= <evarlamova@bk.ru>
Rewritten version is From: =?koi8-r?Q?=E5=CC=C5=CE=C1=20=F7=C1=D2=CC=C1=CD=CF=D7=C1?= <evarlamova@bk.ru>
fetchmail: About to rewrite To: Kundor <kundor@mail.ru>
Rewritten version is To: Kundor <kundor@mail.ru>
fetchmail: About to rewrite Reply-To: =?koi8-r?Q?=E5=CC=C5=CE=C1=20=F7=C1=D2=CC=C1=CD=CF=D7=C1?= <evarlamova@bk.ru>
Rewritten version is Reply-To: =?koi8-r?Q?=E5=CC=C5=CE=C1=20=F7=C1=D2=CC=C1=CD=CF=D7=C1?= <evarlamova@bk.ru>
fetchmail: no local matches, forwarding to damir
Подскажите, что я упустил в настройках fetchmaila???
Дамир.
PS извините за длинный пост.
Reply to: