[Mimedefang] -k option not being passed from FreeBSD rc.d script?

Stephane Lentz Stephane.Lentz at ansf.alcatel.fr
Thu Dec 9 10:13:30 EST 2004


On Thu, Dec 09, 2004 at 09:31:14AM -0500, Graham Dunn wrote:
> I'm in the midst of trying to debug a clamd zip failure
> 
> Dec  9 09:26:36 ureshii mimedefang.pl[73455]: iB9EQaSe031074: Clamd 
> returned error: 
> /var/spool/MIMEDefang/mdefang-iB9EQaSe031074/Work/msg-73455-357.zip: Zip 
> module failure
> 
> and have enabled
> 
> KEEP_FAILED_DIRECTORIES=yes
> 
> in rc.d/mimdefang.sh
> 
> however, these directories are still being cleaned out after the clamd 
> failure. Is there an easy way to check what parameters are being passed? 
> I doubt that it's a problem in the rc file, but I'd like to rule that 
> out ...
> 
> mimedefang-2.48
> ClamAV devel-20041129/623/Thu Dec  9 08:47:37 2004
> FreeBSD 5.3-RELEASE
> 
Not a response to your problem but your post offers the opportunity 
to exchange info about the "Zip module failure" problem ....

Do other people get frequent "Zip module failure" errors ? 
It started seeing them after upgrading to ClamAv 0.80.
Upgrading to zlib 1.2.2 did not solve the problem.
I tried the Clamav CVS version  but it didn't solve it either
(though some mentioned it did for them : 
http://lists.clamav.net/lurker/message/20041129.153452.4a6a491d.en.html)

So far I've changed mimedefang.pl code to treat CLAMD errors as "OK"
( ($output =~ /^(.+) ERROR$/) code) ... Maybe worth a
$treat_clam_errors_as_ok variable in mimedefang-filter :-) 

SL/
---
Stephane Lentz 
AES TSC 



More information about the MIMEDefang mailing list