fetchmail question

Bikrant Neupane bikrant at wlink.com.np
Sun Jun 27 02:17:44 PDT 2004


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 root at localhost (single-drop); Sun, 27 Jun 2004 00:32:39 +0545 
(NPT)

and this one is the full header

From bikrant at wlink.com.np  Sun Jun 27 00:32:39 2004
Return-Path: <bikrant at wlink.com.np>
Received: from localhost (localhost.localdomain [127.0.0.1])
        by localhost.localdomain (8.12.5/8.12.5) with ESMTP id i5QIldIr030563
        for <root at localhost>; Sun, 27 Jun 2004 00:32:39 +0545
Delivered-To: bikrant at wlink.com.np
Received: from pop2.wlink.com.np [202.79.32.43]
        by localhost with POP3 (fetchmail-5.9.0)
        for root at localhost (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 bikrant at wlink.com.np 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 bikrant at wlink.com.np but when it 
is fetched by fetchmail it is changed to root at localhost.


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 <root at localhost>; Sun, 27 Jun 2004 00:32:39 +0545
>
> I am running fetchmail as root user so it has modified the recepient to
> root at localhost. 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list