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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Robert Millan
日付:  
To: exim-dev
CC: Magnus Holmgren
題目: 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.