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.

Philip Hazel wrote:
> On Wed, 21 Jun 2006, Renaud Allard wrote:
> 
>> Hello,
>>
>> Is there an easy way (preferably without modifying source code) to
>> configure exim to allow an underscore in a RCPT domain name? I don't
>> mean only in EHLO, but really in the recipient domain name (address like
>> <[EMAIL PROTECTED]>).
>>
>> I know this is not RFC2821 compliant, but I would need this
>> functionality in order to migrate from an old sendmail on a lan (which
>> accepted underscores on domain names) to a brand new exim in a DMZ. The
>> domain name depends heavily on a proprietary application, which is not
>> easily reconfigured.
> 
> You can use SMTP rewriting (the 'S' rewriting flag) to rewrite such 
> names as they arrive.
> 
> http://www.exim.org/exim-html-4.62/doc/html/spec_html/ch31.html#SECTrewriteS
> 

-- 

.O.
..O
OOO

PGP key: http://www.llorien.org/gnupg/key.pub

Insanity: doing the same thing over and over again and expecting
different results.
  - Albert Einstein

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