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: <[EMAIL PROTECTED]>
> > SMTP<< rcpt to: <[EMAIL PROTECTED]>
> > LOG: smtp_syntax_error MAIN
> >   SMTP syntax error in "rcpt to: <[EMAIL PROTECTED]>"
> > H=localhost [127.0.0.1] malformed address: _00.telchoi.alcatel.be> may
> > not follow <[EMAIL PROTECTED]
> > SMTP>> 501 <[EMAIL PROTECTED]>: malformed address:
> > _00.telchoi.alcatel.be> may not follow <[EMAIL PROTECTED]
> > 501 <[EMAIL PROTECTED]>: malformed address:
> > _00.telchoi.alcatel.be> may not follow <[EMAIL PROTECTED]
> 
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>?$          [EMAIL PROTECTED]   Sh

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


John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: [EMAIL PROTECTED]       Fax: +44 (0)1752 233839


-- 
## 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