Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2004 15:02:57 +0545
From:      Bikrant Neupane <bikrant_ml@wlink.com.np>
To:        freebsd-questions@freebsd.org
Subject:   Re: fetchmail question
Message-ID:  <200406271502.57057.bikrant_ml@wlink.com.np>
In-Reply-To: <200406271222.37774.bikrant_ml@wlink.com.np>
References:  <200406271222.37774.bikrant_ml@wlink.com.np>

next in thread | previous in thread | raw e-mail | index | archive | help
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@localhost (single-drop); Sun, 27 Jun 2004 00:32:39 +0545=20
(NPT)

and this one is the full header

=46rom bikrant@wlink.com.np  Sun Jun 27 00:32:39 2004
Return-Path: <bikrant@wlink.com.np>
Received: from localhost (localhost.localdomain [127.0.0.1])
        by localhost.localdomain (8.12.5/8.12.5) with ESMTP id i5QIldIr0305=
63
        for <root@localhost>; Sun, 27 Jun 2004 00:32:39 +0545
Delivered-To: bikrant@wlink.com.np
Received: from pop2.wlink.com.np [202.79.32.43]
        by localhost with POP3 (fetchmail-5.9.0)
        for root@localhost (single-drop); Sun, 27 Jun 2004 00:32:39 +0545=20
(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@wlink.com.np by qmail-scanner.wlink.com.np by uid 10=
02=20
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=
=20
(qmail-smtpd) with SMTP; 27 Jun 2004 06:05:01 -0000 (Sun, 27 Jun 2004=20
11:50:01 +0545)

You can see that mail is to be delivered to bikrant@wlink.com.np but when i=
t=20
is fetched by fetchmail it is changed to root@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@localhost>; Sun, 27 Jun 2004 00:32:39 +0545
>
> I am running fetchmail as root user so it has modified the recepient to
> root@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406271502.57057.bikrant_ml>