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

Góra strony
Delete this message
Reply to this message
Autor: Robert Millan
Data:  
Dla: exim-dev
CC: Magnus Holmgren
Temat: Re: [exim-dev] [PATCH] Implement redirect
On Tue, Jul 11, 2006 at 02:52:55PM +0100, Philip Hazel wrote:
> FOR SMTP MESSAGES:
>
> 2. If not, add the code as now.
>
> 3. Otherwise, if the first digit is the same as the first digit of the
>    default code, use the provided code instead.


The second digit is also relevant (accept: 250-299, defer: 450-499,
deny: 550-599).

I suggest converting it to integer and then just do a few comparisons.

--
Robert Millan

My spam trap is honeypot@???. Note: this address is only intended for
spam harvesters. Writing to it will get you added to my black list.