Gentoo Archives: gentoo-server

From: Ben Munat <bent@×××××.com>
To: gentoo-server@l.g.o
Subject: [gentoo-server] qmail scanner insanity... someone please help
Date: Mon, 24 Jul 2006 00:58:49
Message-Id: 44C41B3F.4020200@munat.com
1 Hello all,
2
3 Earlier today, I discovered that clamd was complaining about permissions in my logs
4 (clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem). I
5 have spent hours and hours trying to get this horrid piece of software to not stomp on my
6 email (why in the world someone would think that it's a good idea for a misconfigured
7 virus scanner to not allow any email through is beyond me).
8
9 I tried the instructions posted here:
10
11 http://qmail.jms1.net/clamav-qms.shtml
12
13 and here:
14
15 http://gentoo-wiki.com/HOWTO_Setup_QMAIL_RELAY-CTRL_VPOPMAIL
16
17 Nothing worked... I went from the above error to the ever annoying "cannot open
18 /var/spool/qscan/qmail-scanner-queue-version.txt - did you initialise the system by
19 running "qmail-scanner-queue.pl -z"? - Permission denied" Annoying because I have run
20 "qmail-scanner-queue.pl -z" several times and it has no effect.
21
22 I think I used to just run clamd as root to avoid all this, but that didn't appear to
23 help. Currently, I've gone over and over all the files involved and everything's owned by
24 qscand and that's what clamd and freshclam are set to run as.
25
26 Based on the comments in that first link above about version 2.* of qmail-scanner, I went
27 ahead and unmasked that and emerged it. But that seems to have made things even worse,
28 since now the error messages are all about missing files in /var/spool/qscan... which
29 didn't even exist! I've been creating the files in that dir as they show up in error
30 messages in the logs, but now it's looking for /quarantine-events.db which I think is
31 supposed to be a BDB file... and I have no idea how to create that.
32
33 If anyone have any experience getting the evil qmail-scanner beast under control, I really
34 really appreciate any guidance. I've had more trouble with this one package than anything
35 else on gentoo. It's positively evil.
36
37 In the meantime, I'm flying totally unscanned... fire-hose of spam, phishing email,
38 viruses, etc.
39
40 thanks,
41
42 Ben
43 --
44 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] qmail scanner insanity... someone please help Ben Munat <bent@×××××.com>