[Mimedefang] Mimedefang and clamav

John john at jjgb.com
Sun Jan 26 17:11:01 EST 2003


I have searched the archives, but still have not come up with a usable 
answer regarding getting MD & clamd functional.

MD does not recognize clamd or clamav as being installed.  Re-ran configure 
after scratching config.status.  No luck as to picking up clam stuff.

i.e.:
*** Virus scanner detection results:
RAV      'ravav'     NO (not found)
H+BEDV   'antivir'   NO (not found)
NAI      'uvscan'    NO (not found)
Sophos   'sweep'     NO (not found)
TREND    'vscan'     NO (not found)
CLAMSCAN 'clamav'    NO (not found)
AVP      'AvpLinux'  NO (not found)
FSAV     'fsav'      NO (not found)
FPROT    'f-prot'    NO (not found)
SOPHIE   'sophie'    NO (not found)
NVCC     'nvcc'      NO (not found)
CLAMD    'clamd'     NO (not found)
File::Scan           YES
TROPHIE  'trophie'   NO (not found)

I've tried changing the user from clamav to defang, moving socket all over 
the place, changing the clam config file etc. etc. with no luck.  Clamd 
runs nicely and loggs all it does at runtime.  But no indication it is 
chatting correctly with MD.

i.e.:
Sun Jan 26 10:30:50 2003 -> +++ Started at Sun Jan 26 10:30:50 2003
Sun Jan 26 10:30:50 2003 -> Log file size limit disabled.
Sun Jan 26 10:30:50 2003 -> Verbose logging activated.
Sun Jan 26 10:30:50 2003 -> Running as user clamav (UID 202, GID 202)
Sun Jan 26 10:30:50 2003 -> Reading databases from /usr/share/clamav
Sun Jan 26 10:30:51 2003 -> Protecting against 7507 viruses.
Sun Jan 26 10:30:51 2003 -> Unix socket file /tmp/clamd.sock
Sun Jan 26 10:30:51 2003 -> Setting connection queue length to 15
Sun Jan 26 10:30:51 2003 -> Listening daemon: PID: 6009
Sun Jan 26 10:30:51 2003 -> Maximal number of threads: 10
Sun Jan 26 10:30:51 2003 -> Archive: Archived file size limit set to 
10485760 bytes.
Sun Jan 26 10:30:51 2003 -> Archive: Recursion level limit set to 5.
Sun Jan 26 10:30:51 2003 -> Archive: Files limit set to 1000.
Sun Jan 26 10:30:51 2003 -> Archive support enabled.
Sun Jan 26 10:30:51 2003 -> ThreadWatcher: Linux thread id 1026 / PID: 6012
Sun Jan 26 10:30:51 2003 -> Self checking every 3600 seconds.
Sun Jan 26 10:30:51 2003 -> Timeout set to 180 seconds.
Sun Jan 26 10:30:51 2003 -> Found free slot 0

This is after I put the user back to clamav.

I guess what is killing me is the no recognition of clamav in the configure 
script, when in fact it is installed.

Maybe it's my mimedefang-filter file.  There are no examples anywhere of 
setting up the filter with clamd.  I am no novice to Unix, (Linux) and MD & 
SpamAssassin are playing nicely together.

MD doc's indicate MD should automatically recognize Clam stuff...

Can someone please point me in the right direction...

John Jaeger - Billings, Montana

EMail To	: <mailto:john at jjgb.com>
Home Page	: <http://www.jjgb.com>

PGP:
RSA Key ID: 0xAAEC7751  <http://www.jjgb.com/public_files/RSA_Key.zip>

"Our liberty is protected by four boxes...
     The ballot box, the jury box, the soap box, and the cartridge box."
                                    - Anonymous




More information about the MIMEDefang mailing list