Re: [exim-dev] [PATCH] Implement redirect

Inizio della pagina
Delete this message
Reply to this message
Autore: Philip Hazel
Data:  
To: David Woodhouse
CC: exim-dev, Robert Millan
Oggetto: Re: [exim-dev] [PATCH] Implement redirect
On Thu, 29 Jun 2006, David Woodhouse wrote:

> I was thinking of
>
> deny condition = foo
>      message = User not local and use you SPF. Try <$addr>
>      errorcode = 551


This is probably the cleanest, and least invasive way of providing what I
personally am convinced is very special-purpose, minority use
functionality. I would, however, probably go for

       control = errorcode=551


rather than invent a whole new modifier. Or possibly even extend
"message" to allow

       message = 551 User not local ....


If this was checked for the first 4 chars being 5dd followed by a space,
it automatically copes when something like 220 is given - it wouldn't be
recognized.


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