Sorry.. I mentioned the wrong header :(
Indeed the hearder was added by sendmail.
This is the one added by fetchmail
Received: from pop2.wlink.com.np [202.79.32.43]
by localhost with POP3 (fetchmail-5.9.0)
for [EMAIL PROTECTED] (single-drop); Sun, 27 Jun 2004 00:32:39 +0545
(NPT)
and this one is the full header
From [EMAIL PROTECTED] Sun Jun 27 00:32:39 2004
Return-Path: <[EMAIL PROTECTED]>
Received: from localhost (localhost.localdomain [127.0.0.1])
by localhost.localdomain (8.12.5/8.12.5) with ESMTP id i5QIldIr030563
for <[EMAIL PROTECTED]>; Sun, 27 Jun 2004 00:32:39 +0545
Delivered-To: [EMAIL PROTECTED]
Received: from pop2.wlink.com.np [202.79.32.43]
by localhost with POP3 (fetchmail-5.9.0)
for [EMAIL PROTECTED] (single-drop); Sun, 27 Jun 2004 00:32:39 +0545
(NPT)
Received: (qmail 31304 invoked from network); 27 Jun 2004 06:05:03 -0000
Received: from unknown (HELO qmail-scanner.wlink.com.np) (202.79.32.74)
by 0 with SMTP; 27 Jun 2004 06:05:03 -0000
Received: (qmail 86161 invoked by uid 1008); 27 Jun 2004 06:05:03 -0000
Received: from [EMAIL PROTECTED] by qmail-scanner.wlink.com.np by uid 1002
with qmail-scanner-1.20
(clamscan: 0.60. Clear:RC:1(202.79.32.76):.
Processed in 0.607579 secs); 27 Jun 2004 06:05:03 -0000
Received: from smtp1.wlink.com.np (202.79.32.76)
by qmail-scanner.wlink.com.np with SMTP; 27 Jun 2004 06:05:02 -0000
Received: (qmail 8704 invoked by uid 508); 27 Jun 2004 06:05:01 -0000
Received: from [202.79.36.168] (HELO bikrant.org.np) by smtp1.wlink.com.np
(qmail-smtpd) with SMTP; 27 Jun 2004 06:05:01 -0000 (Sun, 27 Jun 2004
11:50:01 +0545)
You can see that mail is to be delivered to [EMAIL PROTECTED] but when it
is fetched by fetchmail it is changed to [EMAIL PROTECTED]
regards,
Bikrant
On Sunday 27 June 2004 12:22, Bikrant wrote:
> Hi... I am trying to retrive mails using fetchmail and then deleiver it
> locally using sendmail. I found that fetchmail adds the following header in
> every messages that it retrives from the pop server.
>
> Received: from localhost (localhost.localdomain [127.0.0.1])
> by localhost.localdomain (8.12.5/8.12.5) with ESMTP id
> i5QIldIr030563 for <[EMAIL PROTECTED]>; Sun, 27 Jun 2004 00:32:39 +0545
>
> I am running fetchmail as root user so it has modified the recepient to
> [EMAIL PROTECTED] Isn't there any way so that fetchmail retains the original
> recepient ? I tried -n and --invisible options but they didn't help.
>
> Thanks,
> Bikrant
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"