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

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

So nothing more than the former logs :(

It's obvious my real rewrite rule is:
\N^(.*)@tmn_00.telchoi.alcatel.be$\N    [EMAIL PROTECTED]     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    [EMAIL PROTECTED]     ST
>>
>> and I still get:
>> SMTP syntax error in "rcpt to: <[EMAIL PROTECTED]>" H=(test)
>> [172.22.20.2] malformed address: _00.domain.tld> may not follow <[EMAIL 
>> PROTECTED]
>>
>> 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? :-)
> 
> 

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to