[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fetchmail-friends
Subject:    [fetchmail] Re: fetchmail --norewrite problem
From:       Sunil Shetye <shetye () bombay ! retortsoft ! com>
Date:       2002-12-28 7:59:25
[Download RAW message or body]

Quoting from Robert Jan Weijers's mail on Fri, Dec 27, 2002 at 07:56:39PM +0100:
> ----------------------------------------- vi .fetchmailrc
> server  www.ict-dinkelland.nl
>         protocol pop3
>         user rweijersadmin
>         password PipoDeluxe

Is this your real username and password? You should have blanked it
out first.

>         norewrite
>         bsmtp /home/mailuser/mail.test
>         keep
> ----------------------------------------- vi mail.test
> MAIL FROM: knor@home.nl BODY=7BIT
> RCPT TO: mailuser@localhost
> DATA
> Received: from localhost [127.0.0.1]
>         by localhost with POP3 (fetchmail-5.9.14)
>         for root@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@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)

You should upgrade to the latest fetchmail (6.2.0) first.

>         for mailuser@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@ict-dinkelland.nl>; Fri, 27 Dec 2002 20:00:47 +0100

What you want is a multidrop configuration. fetchmail will look at
this header line to determine the recipient address then. Your
configuration should look like this:

=========================================
server www.ict-dinkelland.nl
	aka woev.sightid.nl
	localdomains ict-dinkelland.nl
	protocol pop3
	user ...
	password ...
	bsmtp ...
	keep
	to *
=========================================

'norewrite' is not required, unless there is some specific reason for
wanting that.

-- 
Sunil Shetye.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic