Patrick wrote:

> checkvirus.pl currently returns a 22 code, 16 to stop the message process, and 
> 6 to reject the message.  I've altered the script to put the return code in 
> its own logs, as a quick test to see what it was supposed to be returning.
> 
> I'm not sure what I did wrong, but when I run xmail in debug mode, using 
> -debug -Md and it stops logging to smail-xxxx, so I don't have too much info 
> on the return code of the filter, which is why I hacked the script to provide 
> it.   I have forced the script to return error codes 22, 21, 20, 6, 5, and 4, 
> none of which seem to halt delivery of the mail.  The log file for the virus 
> filter shows that it successfully identifies an eicar string, yet I still get 
> the mail.

If you just start XMail in a console window like :

xmail -Md

you will see the necessary filter exitcodes in the debug output of XMail.

What is the output of the filter when you start it in a console without 
any parms ? Please post it here.

-- 
Peter Lindeman

-
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