Re: [exim] Underscore in domain names

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Renaud Allard
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Underscore in domain names

I did:
kill -HUP 23127 ;)
/usr/local/exim/exim -bh 127.0.0.1 -d+rewrite

and got at RCPT time:
rcpt to: <ddts@tmn_00.telchoi.alcatel.be>
SMTP<< rcpt to: <ddts@tmn_00.telchoi.alcatel.be>
LOG: smtp_syntax_error MAIN
SMTP syntax error in "rcpt to: <ddts@tmn_00.telchoi.alcatel.be>"
H=localhost [127.0.0.1] malformed address: _00.telchoi.alcatel.be> may
not follow <ddts@tmn
SMTP>> 501 <ddts@tmn_00.telchoi.alcatel.be>: malformed address:

_00.telchoi.alcatel.be> may not follow <ddts@tmn
501 <ddts@tmn_00.telchoi.alcatel.be>: malformed address:
_00.telchoi.alcatel.be> may not follow <ddts@tmn

So nothing more than the former logs :(

It's obvious my real rewrite rule is:
\N^(.*)@tmn_00.telchoi.alcatel.be$\N    $1@???     ST


Sorry for former address obfuscation.

Philip Hazel wrote:
> On Wed, 21 Jun 2006, Renaud Allard wrote:
>
>> Thanks, it seemed a very good idea, but I still get the error.
>> My regex is
>> \N^(.*)@tmn_00.domain.tld$\N    $1@???     ST

>>
>> and I still get:
>> SMTP syntax error in "rcpt to: <ddts@tmn_00.domain.tld>" H=(test)
>> [172.22.20.2] malformed address: _00.domain.tld> may not follow <ddts@tmn
>>
>> The error appears with the S flag alone and with ST too.
>
> Run a test with -bh and -d+rewrite to see why it isn't rewriting.
>
> (You did remember to HUP the daemon when you added the rewriting rule,
> didn't you? :-)
>
>