My question originates from a win2000 server problem when it was 
failling to crate any new proccesses, thus it wouldn't also be able to 
create a "wrapper" script to check for valid filter return code. The 
real problem was in that it happened overnight and XMail excepted quite 
a few virus infected mails - because of a failure to start new proccess 
(virus scan).
I know that in a perfect world (near linux) filter would allways execute 
and return the proper code but is that really 100% correct? Personaly I 
would rather get a small delivery delayr then get in a virus infected mails.

Matic


CLEMENT Francis pravi:
> No options. If filter fail to run without returning a error code, xmail
> continues as if filter returned 'ok'
> And IMHO it's the best solution, as 99% filters generaly reject only a few
> number of mails and if you had the option to say to xmail 'reject when any
> filter don't run or timeout',  you will miss 99% 'valid' mails during the
> failing filter period.
> Perhabs a '!eax' like parameter on a filter by filter basis ...
>
> If you really want this now, you have the option to create a simple shell
> batch/script 'wrapper' (become shell batchs run well 99,999% time) to the
> real filter, wrapper that will return the desired 'reject' code to xmail
> when the real filter fail.
> The difficulty is to test for the real filter status in the script...
>
> Francis
>
>
>   
>> -----Message d'origine-----
>> De : Matic [mailto:[EMAIL PROTECTED]
>> Envoyé : mardi 1 novembre 2005 21:54
>> A : [email protected]
>> Objet : [xmail] Failed filter
>>
>>
>>
>> Hi,
>>
>> Is there a way to configure XMail to reject the incoming mail if the 
>> smtp filter fails to execute for whatever reason and thus failing to 
>> return exit code 3?
>>
>> Matic
>> -
>> To unsubscribe from this list: send the line "unsubscribe xmail" in
>> the body of a message to [EMAIL PROTECTED]
>> For general help: send the line "help" in the body of a message to
>> [EMAIL PROTECTED]
>>
>>     
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
>
>
>   


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to