I apologize for my shrill tone here... It's just under 100 degrees F. in my living room, I'm hours behind on the work I'm supposed to be doing today, and it seems unfair that qmail-scanner lost its mind without my doing any updates.

Anyway, I hesitate to even say this, lest I curse myself, but I think I managed to stumble across the correct sequence of magic incantations to get clamd and/or qmail-scanner to quit puking... At least I haven't seen any errors in the logs in the last few minutes... just the usual torrent of spam scan messages.

Still, I would love to understand this all better... if anyone has any sage qmail/spamassassin/clamav/vpopmail survival advice they'd like to share, I'd love to hear it!

b

Ben Munat wrote:
Hello all,

Earlier today, I discovered that clamd was complaining about permissions in my logs (clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem). I have spent hours and hours trying to get this horrid piece of software to not stomp on my email (why in the world someone would think that it's a good idea for a misconfigured virus scanner to not allow any email through is beyond me).

I tried the instructions posted here:

http://qmail.jms1.net/clamav-qms.shtml

and here:

http://gentoo-wiki.com/HOWTO_Setup_QMAIL_RELAY-CTRL_VPOPMAIL

Nothing worked... I went from the above error to the ever annoying "cannot open /var/spool/qscan/qmail-scanner-queue-version.txt - did you initialise the system by running "qmail-scanner-queue.pl -z"? - Permission denied" Annoying because I have run "qmail-scanner-queue.pl -z" several times and it has no effect.

I think I used to just run clamd as root to avoid all this, but that didn't appear to help. Currently, I've gone over and over all the files involved and everything's owned by qscand and that's what clamd and freshclam are set to run as.

Based on the comments in that first link above about version 2.* of qmail-scanner, I went ahead and unmasked that and emerged it. But that seems to have made things even worse, since now the error messages are all about missing files in /var/spool/qscan... which didn't even exist! I've been creating the files in that dir as they show up in error messages in the logs, but now it's looking for /quarantine-events.db which I think is supposed to be a BDB file... and I have no idea how to create that.

If anyone have any experience getting the evil qmail-scanner beast under control, I really really appreciate any guidance. I've had more trouble with this one package than anything else on gentoo. It's positively evil.

In the meantime, I'm flying totally unscanned... fire-hose of spam, phishing email, viruses, etc.

thanks,

Ben
--
[email protected] mailing list

Reply via email to