Hello,

I am using qmail-scanner 1.25 with clamd 0.88.1 on
Gentoo x86_64.

My main config files follow:

Edit /etc/clamd.conf:
User qscand

Edit /etc/freshclam.conf:
DatabaseOwner qscand

# chown -R qscand:qscand /var/lib/clamav
# chown -R qscand:qscand /var/run/clamav
# chown -R qscand:qscand /var/log/clamav 

For the first bundle of processed emails, everythng
works fine but then I get clamd segfaults.

/var/log:

>From clamav.log:
Tue Apr 11 09:26:51 2006 ->
/var/spool/qmailscan/tmp/INF-BL07114474041172614965/
msg.pif: Worm.SomeFool.P FOUND
Tue Apr 11 09:26:52 2006 ->
/var/spool/qmailscan/tmp/INF-BL07114474041272614996/
message.scr: Worm.SomeFool.P FOUND
Tue Apr 11 09:26:52 2006 ->
/var/spool/qmailscan/tmp/INF-BL07114474041272614996/
textfile2: Exploit.HTML.IFrame FOUND
Tue Apr 11 09:29:44 2006 ->
/var/spool/qmailscan/tmp/INF-BL07114474058472618615/
message.scr: Worm.SomeFool.P FOUND
Tue Apr 11 09:29:44 2006 ->
/var/spool/qmailscan/tmp/INF-BL07114474058472618615/
textfile2: Exploit.HTML.IFrame FOUND
Tue Apr 11 09:29:54 2006 -> Segmentation fault :-(
Bye..

>From qmail log:
@40000000443b64bd275436e4
X-Qmail-Scanner-1.25st:[INF-BL07114474309172615709] cl
amdscan: corrupt or unknown clamd scanner error or
memory/resource/perms problem
 - exit status 512/2

The same happens if I change to root:
Edit /etc/clamd.conf:
User root

I changed softlimit in /var/qmail/control/conf-common:
SOFTLIMIT_OPTS="-m 128000000" # this server has 4GB
RAM

but I still have the same problem (i.e. clamd works
fine for a while then segfaults).

This has started happening after installing/emerging
clamav-0.88.1 (0.88 was doing fine).

I still have a second server with 0.88 and is working
fine. (same config as the main server; just different
clamav version)

Any suggestions? How can I debug the exact reason it
is seg-faulting?

Regards


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to