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

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Robert Millan
CC: exim-dev, Magnus Holmgren
Assunto: Re: [exim-dev] [PATCH] Implement redirect
On Sun, 9 Jul 2006, Robert Millan wrote:

> Ok, I think I got it right now. I implemented smtp_code support in routers and
> sent an update of my previous patch. Please check it out:
>
> http://www.exim.org/bugzilla/show_bug.cgi?id=115


I started looking at your (previous) patch at end of last week, and
should be able to do some more on it this week (next week is the Exim
course). I was torn between using a new option smtp_code, as you did,
and allowing the user to put codes at the start of the message. That is,
the choice between:

message = your message here
smtp_code = 599

and

message = 599 your message here

The point I want to think about is extended status codes, which some
people want. If you want something like

message = 599 1.2.3 your message here

then the whole "code" is a string rather than a number, and there seems 
little point in having two different strings - why not just use one. 
(And even when there is no extended status, it has to end up as a 
string, after all.)    


I now need to look at your router code and see whether this adds
anything to the background. Then I'll make a decision...

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