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

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Robert Millan
Data:  
Para: exim-dev
CC: Magnus Holmgren
Assunto: 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.