Re: [exim] Address rewriting or what else?

Góra strony
Delete this message
Reply to this message
Autor: Bertram Scharpf
Data:  
Dla: exim-users
Temat: Re: [exim] Address rewriting or what else?
Hi,

Am Freitag, 17. Nov 2006, 12:26:45 +0100 schrieb Magnus Holmgren:
> On Friday 17 November 2006 05:44, Bertram Scharpf wrote:
> > on an old Debian system an Exim3 works quite fine here. This
> > is another attempt to switch to Exim4. My mails still refuse
> > to leave the local network. I was working on it for several
> > hours; I'm almost knocked off now.
>
> > My test message comes from a host other than the gateway and
> > it contains a line as:
> >
> > "From: <info@???>"
> >
> > I analyzed the temporary files /var/spool/exim/input/*-H on
> > the gateway and detected the following differences:
> >
> > Line 2, Exim 3:
> > <info@???>
> > Line 2, Exim 4:
> > <user@???>
>
> Don't you mean line 3 (counting from line 1)?


Yes, I did.

> > Last Lines, Exim 3:
> > 051* Sender: <user@???>
> > 035S Sender: <info@???>
> > 058* X-rewrote-sender: user@???
> >
> > Last Line, Exim 4:
> > 051* Sender: <user@???>
>
> Those lines marked with "*" are deleted/replaced header lines. Isn't there a
> non-deleted Sender: line?


Sorry, no.

> > I guess this has something to do with address rewriting but
> > when looking at the exim.conf both of them contain the line
> >
> > *@* $header_from: Fs
> >
> > in the rewrite area.


Another attempt:

    *@* $sender_address Fscb


Nothing happens.

I'll give a shortened debug output below.

On the web I found that this question was on the list one
and a half years ago:
http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20050801/msg00160.html

Jonathan didn't receive a satisfying answer, as far as I can
see ...

Bertram


--------

>>Headers received:

From: Bertram Scharpf <lists@???>
To: echo@???
Sender: <user@???>

rewrite_one_header: type=F:
From: Bertram Scharpf <lists@???>
rewrite_one_header: type=T:
To: echo@???
search_tidyup called
>>Headers after rewriting and local additions:

F From: Bertram Scharpf <lists@???>
T To: echo@???
* Sender: <user@???>


--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de