Re: [exim] Underscore in domain names

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Renaud Allard
CC: exim-users
Temat: Re: [exim] Underscore in domain names
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? :-)


-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book