Fedora Core 3 (kern 2.6.9-1.x) 
Postfix 2.1.5 
Anomy 1.69 
Spammassassin 3.0.2
Clamav 0.80


I am building a replacement/upgrade for my current 
RH8+Postfix+Anomy+Spammasssasin+Clamav mail gateway

I was able to get everything up with minimal problems until I got to clam

In my anomy.conf I call to scan all mail with clam

file_list_1_scanner = 0:0:1:/usr/local/bin/clamdscan %FILENAME
file_list_1_policy = unknown:mangle:drop:save
file_list_1 = (?i)\.*

with clamd running (started as root, but running as user clamav)

This doesn't work, all messages get quarantined

If I change this to:

file_list_1_scanner = 0:0:1:/usr/local/bin/clamscan %FILENAME
file_list_1_policy = unknown:mangle:drop:save
file_list_1 = (?i)\.*

It works fine, non-viral messages are delivered fine, and if I send attachments 
from the ~/clamav-0.80/test dir like clam.rar or clam.cab
It is DEFANGED and all is good


My questions would be:

First why would calling clamdscan in the anomy config not work?

Second is there a best practice that says running the clamscan command as I am 
is not as good as running clamd and checking mail with clamdscan?

Thanks

Kyle

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to