Re: [exim] Underscore in domain names

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Renaud Allard
CC: exim-users
Tárgy: Re: [exim] Underscore in domain names
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

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