> -----Original Message-----
> From: Jeremy Kusnetz [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 29, 2003 3:29 PM
>
> I've been running with virus scanning through uvscan and spam 
> scanning with spamassassin with no problems.
> 
> I would now like to move to where both virus and spam 
> scanning are done on servers other then the server qmail is 
> running on.  This is easy with spamassassin's spamd and 
> spamc.  But uvscan is a command line only program.
> 
> So I've decided to hack up spamd and make it so it will run 
> uvscan instead of the spamassassin engine and send uvscan's 
> results back to spamc.
> 

you are daemonizing a command line call?   it's still a command line
scanner.  a daemonized uvscan would be one that loads virus defs into
memory, and a message is piped through it...  this is how spamc/spamd
works.   i guess i dont see what you are gaining by doing this?

> 
> uvscan normally scans $scandir/$file_id which seems to be a 
> directory containing the actual email, while spamassassin 
> scan the file $scandir/$wmaildir/new/$file_id
> 

see $redundant_scanning ....

  if ($redundant_scanning) {
 
link("$scandir/$wmaildir/new/$file_id","$scandir/$file_id/orig-$file_id"
);
  }

> In order to make my daemonized uvscan system work I need to 
> scan $scandir/$wmaildir/new/$file_id instead of $scandir/$file_id
> 

set $redundant_scanning = 1

> What is the difference between these?  Will I catch all my 
> viruses?  Does the $scandir/$file_id directory contain 
> anything else like extracted attachments?
> 

reformime will unpack the attachments into that dir...  if you have
force_unzip enabled, it will unzip files it can in that dir.

i run uvscan with redundant_scanning and force_unzip both on.

i also have the uvscan SDK for Linux straight from NAI, so if you know
how to "truely" make a daemonized uvscanner, i'd be very interested!
I'm just no good with C... guess i could go with the sophie or trophie
code and adapt it, but i'm also lazy... haha :)

dallas


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to