[Mimedefang] Mimedefang & clamd

Michael Lang michi+mimedefang at relay3.jackal-net.at
Tue Sep 20 11:32:50 EDT 2005


On Tue, 2005-09-20 at 14:11 +0100, Mack wrote:
> it would seem that it thinks Virus:ClamAV is there (at the topish of the list) but also not there
> Virus:ClamAV                  : yes (/usr/local/bin/clamdscan)
> Virus:CLAMAV                  : no
> 
> 
> I've not seen the top one, are you assigning this in your code (perhaps a case issue?)

i think your config confuses mimedefang :)
# mimedefang.pl -features
MIMEDefang version 2.53

HTML::Parser                  : yes
HTML::TokeParser              : yes
Net::DNS                      : yes
Path:CONFDIR                  : yes (/etc/mail)
Path:QUARANTINEDIR            : yes (/var/spool/MD-Quarantine)
Path:SENDMAIL                 : yes (/usr/sbin/sendmail)
Path:SPOOLDIR                 : yes (/var/spool/MIMEDefang)
SpamAssassin                  : yes
Virus:CLAMD                   : yes

should be Original not modifyed 
# grep CLAMD /usr/bin/mimedefang.pl
$Features{'Virus:CLAMD'}    = ('/bin/false' ne '/bin/false' ?
'/bin/false' : 0);
    if ($Features{'Virus:CLAMD'}) {
    if ($Features{'Virus:CLAMAV'} && ! $Features{'Virus:CLAMD'}) {

# grep CLAMD /etc/mail/mimedefang-filter
$Features{'Virus:CLAMD'}        = 1;

this should get your ClamAV to work with your MIMEDefang

Kind regards 
Michael Lang

-- 
Michael Lang <michi+mimedefang at relay3.jackal-net.at>




More information about the MIMEDefang mailing list