Re: [exim] Underscore in domain names

Top Page
Delete this message
Reply to this message
Author: John Horne
Date:  
To: exim-users
Subject: Re: [exim] Underscore in domain names
On Wed, 2006-06-21 at 16:13 +0100, Philip Hazel wrote:
> On Wed, 21 Jun 2006, Renaud Allard wrote:
>
> > /usr/local/exim/exim -bh 127.0.0.1 -d+rewrite
> >
> > and got at RCPT time:
> > rcpt to: <ddts@tmn_00.telchoi.alcatel.be>
> > SMTP<< rcpt to: <ddts@tmn_00.telchoi.alcatel.be>
> > LOG: smtp_syntax_error MAIN
> > SMTP syntax error in "rcpt to: <ddts@tmn_00.telchoi.alcatel.be>"
> > H=localhost [127.0.0.1] malformed address: _00.telchoi.alcatel.be> may
> > not follow <ddts@tmn
> > SMTP>> 501 <ddts@tmn_00.telchoi.alcatel.be>: malformed address:
> > _00.telchoi.alcatel.be> may not follow <ddts@tmn
> > 501 <ddts@tmn_00.telchoi.alcatel.be>: malformed address:
> > _00.telchoi.alcatel.be> may not follow <ddts@tmn
>

Hi,

The problem seems to be with the '<' and '>' in the rcpt address. I lost
part of this thread, but changing the rewrite rule to something like:

   \N^<?(.*)@tmn_00.telchoi.alcatel.be>?$          $1@???   Sh


seems to work. Note the '<?' '>?'.


John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: John.Horne@???       Fax: +44 (0)1752 233839