Hi there,

I'm testing a patch I've written to plug clamav directly into qmail, i.e. 
avoiding the overhead of loading perl libraries with qmail-scanner. Basically 
the idea is to run clamscan with a new option (--spool) as follows:

clamscan --spool - 

as well as spamc from a modified version of the qmail-spamc code provided with 
the SpamAssassin package.

If the message is clean it will spool straight through to qmail-queue. If it 
is infected it (at present) gets tagged and the original infected message is 
attached to a mail from clamscan to the recipient telling them they have been 
sent an infected mail.

Most mail servers with av capabilities (on Windows) let you decide whether to 
quarantine, tag or delete infected messages - so this capability could be 
added to.

My questions are:

Is there anything I should be looking out for in the style of the code I am 
writing? 

Is anyone else working on something like this?

Any warnings/notes/advice?

I'll post the code once I'm no longer ashamed of it (I'm not a C guru by any 
stretch of the imagination). Any suggestions or anything anyone may have - 
particularly regarding the procedure of making a patch suitable for a 
distribution would be appreciated...

Rob




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to