On 21-Feb-2001 CLEMENT Francis wrote:
> Helo
> 
> I see in doc of xmail, in section filtering messages, that it is possible
> not only respond with a 99 return code, but also with 100 return code.
> 
> But you say, for the parameters :
> @@FILE        will be substituted with the message file path ( the external
> command _must_ only read the file )
> 
> and 
> 
> @@TMPFILE     will create a copy of the message file to a temporary one. 
>                       It's external program responsibility to delete the
> temporary file.
> 
> So, if @@FILE is to be 'read-only' (don't modify) by external program and
> @@TMPFILE is to be destroyed by external program, how to return the modified
> message !!!???
> 
> After consulting your source code, i see that the section handling the
> external filtering program return code does nothing for 100 return code !!!
> 
> Is this functionality not yet implemented ?
> 
> My question is for 'anti-virus' scanning program that i wan not discard the
> message but return a modified message where offending part is removed and
> replaced with an avertissement of virus detected to the final destination.
> 
> How can i do ?
> 
> Another question about return code, if return code is not 99 or 100, what
> action is taken by xmail exactly ? (message to sender ?, 5xx smtp error
> returned ?, ...)

Actually it's a cut&paste error :))
You can modify the file if You're going to return 100.




- Davide

Reply via email to