Hey guys..

I was looking at this sub, and noticed it calls avpdaemon like

`$avpdaemon_binary  $ENV{'TMPDIR'} 2>&1`;

However, if you've messed with aveclient/aveserver, you'll see that this
does not work.

# /usr/local/kav/bin/aveclient -p /var/run/aveserver -s /tmp
/tmp ERROR not a regular file

But, if you change it like this, it will work...
`$avpdaemon_binary  $ENV{'TMPDIR'}/* 2>&1`

# /usr/local/kav/bin/aveclient -p /var/run/aveserver -s /tmp/*
/tmp/000A1E44.key OK/usr/local/kav/bin/aveclient -p /var/run/aveserver
-s /tmp/*
/tmp/ca.db.certs ERROR not a regular file
/tmp/ca.db.index OK
/tmp/ca.db.serial OK
/tmp/clamd ERROR not a regular file
/tmp/kav_install_log_.21873 OK
/tmp/kav_install_log_.23176 OK
/tmp/kav_install_log_.23483 OK
/tmp/loadavg OK
/tmp/mysql.log OK
/tmp/qmail-scanner-1.25.tgz PROTECTED
/tmp/session_mm_apache0.sem OK


Now, if you use just kavscanner, you can use the -r (recursive) flag and
it will scan $ENV{'TMPDIR'} no problem...  

Or maybe I'm missing something in kav4unix.conf that breaks recursive
scanning of directories with aveclient/aveserver???   I have
Recursion=yes set in [scanner.options], but I don't know if that matters
for the client/daemon.

If anyone know more, please share!

D


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to