[fetchmail]How fetchmail read mails header ?
rahul
rahul_zoro2000@yahoo.com
Mon, 12 Sep 2005 00:49:30 -0700 (PDT)
--0-1323627557-1126511370=:73946
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hi,
I have one pop a/c name maya@example.com.
&
one forward a/c name nidh@example.com. All mails nidh@example.com forwards to the catchall a/c name catchall@example.com.
When i send a mail from my yahoo a/c to maya@example.com, nidh@example.com.
maya@example.com
&
nidh@example.com mails forward to catchall@example.com
When i open my catchall@example.com a/c on net. You can see my mail with full headers see bellow:-
###### Start mail with full header #######
Return-Path: <rahul_zoro2000@yahoo.com>
Received: from virt7c.secure-wi.com (root@localhost)
by example.com (8.12.10/8.12.10) with ESMTP id j8C6Uaou014486
for <nidh@example.com>; Sun, 11 Sep 2005 23:30:36 -0700
X-ClientAddr: 68.142.199.243
Received: from web33611.mail.mud.yahoo.com (web33611.mail.mud.yahoo.com [68.142.199.243])
by virt7c.secure-wi.com (8.12.10/8.12.10) with SMTP id j8C6UVZi014473
for <nidh@example.com>; Sun, 11 Sep 2005 23:30:31 -0700
Received: (qmail 19375 invoked by uid 60001); 12 Sep 2005 06:26:36 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=s1024; d=yahoo.com;
h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding;
b=LOrlOOKwNX3veN0I9AmPsEX13aMLluE8nu+AeQgCl7UpP5lf5nNwBu4HGkXzfI2PfE1YRonLejyf9LY6ENcqs+PRPUAtCO2rtRvyl/rq+w5X1Zg7YNr1g5gwnmivqI9bnEPdfLkfVJxngwgM2Mu7mzMbZjWo383E2/8e0319HvA= ;
Message-ID: <20050912062636.19373.qmail@web33611.mail.mud.yahoo.com>
Received: from [202.197.203.182] by web33611.mail.mud.yahoo.com via HTTP; Sun, 11 Sep 2005 23:26:35 PDT
Date: Sun, 11 Sep 2005 23:26:35 -0700 (PDT)
From: nitin nitin <rahul_zoro2000@yahoo.com>
Subject: test n4
To: maya@example.com
Cc: nidh@example.com
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-1858758143-1126506395=:18709"
Content-Transfer-Encoding: 8bit
X-Webintellects-MailScanner-Information: Please contact the ISP for more information
X-Webintellects-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details
X-MailScanner-From: rahul_zoro2000@yahoo.com
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on virt7c.secure-wi.com
X-Spam-Level: ****
X-Spam-Status: No, hits=4.4 required=5.0 tests=AWL,FORGED_YAHOO_RCVD,
HTML_20_30,HTML_MESSAGE,RCVD_IN_DSBL,RCVD_IN_NJABL,
RCVD_IN_NJABL_PROXY,RCVD_IN_SORBS,RCVD_IN_SORBS_HTTP autolearn=no
version=2.63
###### End mail with full header #######
In my office, I have configured qmail+vpopmail+fetchmail server. Its working fine & user nidh@example.com exist on qmail server.
When Fetchmail fetch all mails from catchall@example.com it send one mail to nidh@example.com & again send one mail to maya@example.com remotelly.
MY PROBLEM IS :-
why fetchmail again send one mail to maya@example.com.
fetchmail configration:-
poll 203.216.202.87 with proto POP3
localdomains example.com localhost
From:*@example.com
Return-Path: <*@example.com>
envelope 'for <'">*@example.com>'
user catchall@example.com there with password "password" is * here
fetchall
How can i tell the fetchmail only read for <nidh@example.com>. header ?
You can see send log see below :-
/var/qmail/log/send
@4000000043251d4c3067e244 new msg 882395
@4000000043251d4c3067edfc info msg 882395: bytes 3076 from <rahul_zoro2000@yahoo.com> qp 27931 uid 506
@4000000043251d4c35381f64 starting delivery 6476: msg 882395 to remote maya@example.com
@4000000043251d4c35382b1c status: local 0/10 remote 1/20
@4000000043251d4c35382f04 new msg 882425
@4000000043251d4c353832ec info msg 882425: bytes 3077 from <rahul_zoro2000@yahoo.com> qp 27933 uid 506
@4000000043251d4c39a19bd4 starting delivery 6477: msg 882425 to local intsof.com-nidh@example.com
@4000000043251d4c39a1ab74 status: local 1/10 remote 1/20
@4000000043251d4c39f04874 delivery 6477: success: did_0+0+1/
@4000000043251d4c39f05bfc status: local 0/10 remote 1/20
@4000000043251d4c39f063cc end msg 882425
@4000000043251d4f1e4da6fc delivery 6476: success: 203.216.202.87_accepted_message./Remote_host_said:_250_2.0.0_j8C6SgZi013980_Message_accepted_for_delivery/
@4000000043251d4f1e4dba84 status: local 0/10 remote 0/20
@4000000043251d4f1e4dc254 end msg 882395
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--0-1323627557-1126511370=:73946
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I have one pop a/c name <A href="mailto:maya@example.com">maya@example.com</A>.</DIV>
<DIV>&</DIV>
<DIV>one forward a/c name <A href="mailto:nidh@example.com">nidh@example.com</A>. All mails <A href="mailto:nidh@example.com">nidh@example.com</A> forwards to the catchall a/c name <A href="mailto:catchall@example.com">catchall@example.com</A>.</DIV>
<DIV><BR>When i send a mail from my yahoo a/c to <A href="mailto:maya@example.com">maya@example.com</A>, <A href="mailto:nidh@example.com">nidh@example.com</A>.</DIV>
<DIV><A href="mailto:maya@example.com">maya@example.com</A> </DIV>
<DIV>&<BR><A href="mailto:nidh@example.com">nidh@example.com</A> mails forward to <A href="mailto:catchall@example.com">catchall@example.com</A></DIV>
<DIV><BR>When i open my <A href="mailto:catchall@example.com">catchall@example.com</A> a/c on net. You can see my mail with full headers see bellow:-</DIV>
<DIV>###### Start mail with full header #######</DIV>
<DIV>Return-Path: <<A href="mailto:rahul_zoro2000@yahoo.com">rahul_zoro2000@yahoo.com</A>><BR>Received: from virt7c.secure-wi.com (<A href="mailto:root@localhost">root@localhost</A>)<BR> by example.com (8.12.10/8.12.10) with ESMTP id j8C6Uaou014486<BR> for <<A href="mailto:nidh@example.com">nidh@example.com</A>>; Sun, 11 Sep 2005 23:30:36 -0700<BR>X-ClientAddr: 68.142.199.243<BR>Received: from web33611.mail.mud.yahoo.com (web33611.mail.mud.yahoo.com [68.142.199.243])<BR> by virt7c.secure-wi.com (8.12.10/8.12.10) with SMTP id j8C6UVZi014473<BR> for <<A href="mailto:nidh@example.com">nidh@example.com</A>>; Sun, 11 Sep 2005 23:30:31 -0700<BR>Received: (qmail 19375 invoked by uid 60001); 12 Sep 2005 06:26:36 -0000<BR>DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;<BR> s=s1024; d=yahoo.com;<BR>
h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding;<BR> b=LOrlOOKwNX3veN0I9AmPsEX13aMLluE8nu+AeQgCl7UpP5lf5nNwBu4HGkXzfI2PfE1YRonLejyf9LY6ENcqs+PRPUAtCO2rtRvyl/rq+w5X1Zg7YNr1g5gwnmivqI9bnEPdfLkfVJxngwgM2Mu7mzMbZjWo383E2/8e0319HvA= ;<BR>Message-ID: <<A href="mailto:20050912062636.19373.qmail@web33611.mail.mud.yahoo.com">20050912062636.19373.qmail@web33611.mail.mud.yahoo.com</A>><BR>Received: from [202.197.203.182] by web33611.mail.mud.yahoo.com via HTTP; Sun, 11 Sep 2005 23:26:35 PDT<BR>Date: Sun, 11 Sep 2005 23:26:35 -0700 (PDT)<BR>From: nitin nitin <<A href="mailto:rahul_zoro2000@yahoo.com">rahul_zoro2000@yahoo.com</A>><BR>Subject: test n4<BR>To: <A href="mailto:maya@example.com">maya@example.com</A><BR>Cc: <A href="mailto:nidh@example.com">nidh@example.com</A><BR>MIME-Version: 1.0<BR>Content-Type: multipart/alternative; boundary="0-1858758143-1126506395=:18709"<BR>Content-Transfer-Encoding:
8bit<BR>X-Webintellects-MailScanner-Information: Please contact the ISP for more information<BR>X-Webintellects-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details<BR>X-MailScanner-From: <A href="mailto:rahul_zoro2000@yahoo.com">rahul_zoro2000@yahoo.com</A><BR>X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on virt7c.secure-wi.com<BR>X-Spam-Level: ****<BR>X-Spam-Status: No, hits=4.4 required=5.0 tests=AWL,FORGED_YAHOO_RCVD,<BR> HTML_20_30,HTML_MESSAGE,RCVD_IN_DSBL,RCVD_IN_NJABL,<BR> RCVD_IN_NJABL_PROXY,RCVD_IN_SORBS,RCVD_IN_SORBS_HTTP autolearn=no <BR> version=2.63</DIV>
<DIV>###### End mail with full header #######</DIV>
<DIV><BR>In my office, I have configured qmail+vpopmail+fetchmail server. Its working fine & user <A href="mailto:nidh@example.com">nidh@example.com</A> exist on qmail server. </DIV>
<DIV> </DIV>
<DIV>When Fetchmail fetch all mails from <A href="mailto:catchall@example.com">catchall@example.com</A> it send one mail to <A href="mailto:nidh@example.com">nidh@example.com</A> & again send one mail to <A href="mailto:maya@example.com">maya@example.com</A> remotelly. </DIV>
<DIV>MY PROBLEM IS :-<BR>why fetchmail again send one mail to <A href="mailto:maya@example.com">maya@example.com</A>.</DIV>
<DIV>fetchmail configration:-</DIV>
<DIV>poll 203.216.202.87 with proto POP3<BR>localdomains example.com localhost<BR>From:*@example.com<BR>Return-Path: <<A href="mailto:*@example.com">*@example.com</A>><BR>envelope 'for <<A href="mailto:*@example.com>'">*@example.com>'</A><BR>user <A href="mailto:catchall@example.com">catchall@example.com</A> there with password "password" is * here<BR>fetchall</DIV>
<DIV> </DIV>
<DIV>How can i tell the fetchmail only read for <<A href="mailto:nidh@example.com">nidh@example.com</A>>. header ?</DIV>
<DIV> </DIV>
<DIV><BR>You can see send log see below :-</DIV>
<DIV>/var/qmail/log/send</DIV>
<DIV>@4000000043251d4c3067e244 new msg 882395<BR>@4000000043251d4c3067edfc info msg 882395: bytes 3076 from <<A href="mailto:rahul_zoro2000@yahoo.com">rahul_zoro2000@yahoo.com</A>> qp 27931 uid 506<BR>@4000000043251d4c35381f64 starting delivery 6476: msg 882395 to remote <A href="mailto:maya@example.com">maya@example.com</A><BR>@4000000043251d4c35382b1c status: local 0/10 remote 1/20<BR>@4000000043251d4c35382f04 new msg 882425<BR>@4000000043251d4c353832ec info msg 882425: bytes 3077 from <<A href="mailto:rahul_zoro2000@yahoo.com">rahul_zoro2000@yahoo.com</A>> qp 27933 uid 506<BR>@4000000043251d4c39a19bd4 starting delivery 6477: msg 882425 to local <A href="mailto:intsof.com-nidh@example.com">intsof.com-nidh@example.com</A><BR>@4000000043251d4c39a1ab74 status: local 1/10 remote 1/20<BR>@4000000043251d4c39f04874 delivery 6477: success: did_0+0+1/<BR>@4000000043251d4c39f05bfc status: local 0/10 remote 1/20<BR>@4000000043251d4c39f063cc end msg
882425<BR>@4000000043251d4f1e4da6fc delivery 6476: success: 203.216.202.87_accepted_message./Remote_host_said:_250_2.0.0_j8C6SgZi013980_Message_accepted_for_delivery/<BR>@4000000043251d4f1e4dba84 status: local 0/10 remote 0/20<BR>@4000000043251d4f1e4dc254 end msg 882395<BR></DIV>
<DIV> </DIV>
<DIV> </DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com
--0-1323627557-1126511370=:73946--