Re: [exim] Underscore in domain names

Etusivu
Poista viesti
Vastaa
Lähettäjä: Renaud Allard
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Underscore in domain names
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.

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
>> <ddts@tmn_00.domain.tld>).
>>
>> 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