[Exim] exim 4.32: possible bug: rewrite broken

Pàgina inicial
Delete this message
Reply to this message
Autor: Ronny Vaningh
Data:  
A: exim-users
CC: Philip Hazel
Assumpte: [Exim] exim 4.32: possible bug: rewrite broken
Hi

I have a difference in behavior between 4.30 and 4.32 that breaks my
rewrite setup.
I have looked around and cannot find a solution but maybe it's just a
bug ?

Internally we have hostnames like thisismyhost.bc (use a fake top level)

I have a rewrite rule that says
*@*.bc        $1@$2.is.belgacom.be


This works like a charm in 4.30

when I mail from my box as usrxxxxxxx@??? it gets rewritten as
usrxxxxxxxxx@???

I 4.32 this seems to be broken

I have put in a new rule that rewrites usrxxxxxxxx@??? to
ronny.vaningh@??? to facilitate a simple test

The log still says it rewrites the env-from and from but the remote host
gets an envelope of usrxxxxxxxx@??? and reject since the sender
cannot be verified.

When I feed exim in 4.32 a valid local_part@valid_domain.be
e.g. ronny@??? to be rewritten to ronny.vaningh@???
the rewriting is happening correctly.

exim -brw shows in both versions the same (that it rewrites)


2004-04-22 22:29:17 "usrxxxxxxxx@???" from sender: rewritten as
"ronny.vaningh@???" by rule 1
  sender: ronny.vaningh@???
2004-04-22 22:29:17 "usrxxxxxxxx@???" from from: rewritten as
"ronny.vaningh@???" by rule 1
    from: ronny.vaningh@???
      to: usrxxxxxxxx@???
      cc: usrxxxxxxxx@???
     bcc: usrxxxxxxxx@???
reply-to: usrxxxxxxxx@???
2004-04-22 22:29:17 "usrxxxxxxxxxx@???" from env-from rewritten as
"ronny.vaningh@???" by rule 1
env-from: ronny.vaningh@???
  env-to: usrxxxxxxxx@???


I tried several rewrite flags including rewrite all headers without luck

The log of 4.32:

2004-04-22 22:21:33 "usrxxxxxxxx@???" from env-from rewritten as
"ronny.vaningh@???" by rule 1
2004-04-22 22:21:33 1BGkhR-0005Ap-4Y "usrxxxxxxx@???" from from:
rewritten as "ronny.vaningh@???" by rule 1
2004-04-22 22:21:33 1BGkhR-0005Ap-4Y <= usrxxxxxxxx@??? H=(host.bc)
[ip-of-sending-host-here]:40391 I=[ip-of-receiving-host-here]:25 P=esmtp
S=616 id=E
1BGkBn-0007P4-00@??? T="test" from <usrxxxxxxxx@???> for
ronny@???
2004-04-22 22:21:33 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc
1BGkhR-0005Ap-4Y
2004-04-22 22:21:33 SMTP connection from (host.bc)
[ip-of-sending-host]:40391 closed by QUIT
2004-04-22 22:21:33 1BGkhR-0005Ap-4Y ** ronny@???
F=<usrxxxxxxx@???> R=dnslookup T=remote_smtp: SMTP error from remote
mailer after RCPT TO:<ronny@???>: host mx01.netrusion.com
[217.22.56.178]: 550-Verification failed for <usrxxxxxxxx@???
c>\n550-Unrouteable address\n550 Sender verify failed


The log of 4.30:

2004-04-22 22:26:00 "usrxxxxxxxxx@???" from env-from rewritten as
"ronny.vaningh@???" by rule 1
2004-04-22 22:26:00 1BGklk-0005Cf-V0 "usrxxxxxxxxx@???" from from:
rewritten as "ronny.vaningh@???" by rule 1
2004-04-22 22:26:00 1BGklk-0005Cf-V0 <= ronny.vaningh@???
H=(host.bc) [ip-of-sending-host]:40392 I=[ip-of-recieving-host]:25
P=esmtp S=615 id=E1BGkG7-0007P9-00@??? T="test" from
<usrxxxxxxxxx@???> for ronny@???
2004-04-22 22:26:00 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc
1BGklk-0005Cf-V0
2004-04-22 22:26:01 SMTP connection from (host.bc)
[ip-of-sending-host]:40392 closed by QUIT
2004-04-22 22:26:08 1BGklk-0005Cf-V0 =>
ronny@??? F=<ronny.vaningh@???> R=dnslookup
T=remote_smtp S=636 H=mx01.netrusion.com [217.22.56.178] C="250 OK
id=1BGkJz-0005q6-KK"
2004-04-22 22:26:08 1BGklk-0005Cf-V0 Completed