fetchmail-friends
[Top] [All Lists]

[fetchmail] fetchmail --norewrite problem

2002-12-27 11:56:45
When our Exim server gets mail through SMTP then its search
emailadresses in LDAP and delivers to local users. When fetchmail gets
mail from a POP3-server then it pipes it to Exim by SMTP.
But this doesn't work because Fetchmail does a header-rewrite... so al
the mail it fetched goes to the mailuser (our fetchmail runner). The
option --norewrite dowsn't work. Can anyone help me? Here is my config...

----------------------------------------- vi .fetchmailrc
server  www.ict-dinkelland.nl
        protocol pop3
        user rweijersadmin
        password PipoDeluxe
        norewrite
        bsmtp /home/mailuser/mail.test
        keep
----------------------------------------- vi mail.test
MAIL FROM: knor(_at_)home(_dot_)nl BODY=7BIT
RCPT TO: mailuser(_at_)localhost
DATA
Received: from localhost [127.0.0.1]
        by localhost with POP3 (fetchmail-5.9.14)
        for root(_at_)localhost (by default); Fri, 27 Dec 2002 19:51:12 +0100
(CET)
Received: from localhost ([127.0.0.1] ident=mailuser)
        by localhost with esmtp (Exim 4.04)
        id 18RzZY-00064a-00
        for mailuser(_at_)localhost; Fri, 27 Dec 2002 19:51:04 +0100
Received: from pop3.sightid.nl [81.17.36.40]
        by localhost with POP3 (fetchmail-5.9.14)
        for mailuser(_at_)localhost (single-drop); Fri, 27 Dec 2002 19:51:04
+0100 (C
Received: from mail8-sh.home.nl (mail8.home.nl [213.51.128.28])
        by woev.sightid.nl (8.11.6/8.11.6) with ESMTP id gBRJ0lc14392
        for <root(_at_)ict-dinkelland(_dot_)nl>; Fri, 27 Dec 2002 20:00:47 +0100
Received: from home.nl ([212.120.114.35]) by mail8-sh.home.nl
          (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP
          id 
<20021227185032(_dot_)OJUM25319(_dot_)mail8-sh(_dot_)home(_dot_)nl(_at_)home(_dot_)nl>
          for <root(_at_)ict-dinkelland(_dot_)nl>; Fri, 27 Dec 2002 19:50:32 
+0100
Message-ID: <3E0CA0FB(_dot_)8070609(_at_)home(_dot_)nl>
Date: Fri, 27 Dec 2002 19:50:35 +0100
From: Robert Jan Weijers <knor(_at_)home(_dot_)nl>
Reply-To: knor(_at_)home(_dot_)nl
User-Agent: Mozilla/5.0 (X11; U; Linux i686; nl-NL; rv:1.0.0) Gecko/20020725
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: root(_at_)ict-dinkelland(_dot_)nl
Subject: test123
-----------------------------------------
email above should go to root(_at_)ict-dinkelland(_dot_)nl but fetchmail send 
it to
mailuser(_at_)localhost :-( HELP

Thanks a lot!
Robert Jan




<Prev in Thread] Current Thread [Next in Thread>