Page 1 of 1

qmail-scanner doesn't uninstall cleanly

Posted: Thu Jun 17, 2010 8:29 am
by breun
I just used yum to remove qmail-scanner (and spamassassin) on a server, but after that sending e-mail didn't work anymore. Using the mail command returned:
qmail-inject: fatal: qq temporary problem (#4.3.0)
and /usr/local/psa/var/log/maillog said:
qmail-queue-handlers[12369]: Unable to change group ID: Operation not permitted
I opted for just reinstalling the psa-qmail package, which solved this problem, but I feel that I shouldn't have had to do that. Uninstalling qmail-scanner should leave me with a working mail setup.

P.S. Messages sent after uninstalling qmail-scanner still contain headers like this:
Received: from <XXXX> by <XXXX> (envelope-from <XXXX>, uid 2020) with qmail-scanner-2.08st (clamdscan: 0.96.1/11202. spamassassin: 3.2.5. perlscan: 2.08st. Clear:RC:0(XXXX):SA:0(-2.6/3.0):. Processed in 2.013068 secs); 17 Jun 2010 12:18:47 -0000
I feel qmail-scanner is still not totally uninstalled cleanly. Where should I look next?

Re: qmail-scanner doesn't uninstall cleanly

Posted: Thu Jun 24, 2010 7:17 pm
by lfenison
I just had the same problem and was stuck reinstalling qmail-scanner to get my mail going again.

Qmail-scanner would be great if it just added clamav scanning but instead it has a mind of it's own and starts messing with subject lines and deleting messages rather than just leaving that up to spamassassin. Not something I want on my system!

If anyone finds a clean way to remove it and still have a running mail server, I would love to hear about it. Right now qmail-scanner is holding me hostage and removing it is a disaster.

Re: qmail-scanner doesn't uninstall cleanly

Posted: Fri Jun 25, 2010 2:24 am
by breun
You can control qmail-scanner's behavior by editing /etc/qmail-scanner.ini (which is documented in-line) and running qmail-scanner-reconfigure afterwards. And there's http://qmail-scanner.sourceforge.net/ which also has documentation.

As I explained above: you can uninstall qmail-scanner and reinstall psa-qmail to get rid of qmail-scanner. Reinstalling psa-qmail shouldn't be necessary, but it was in my case (which is why I started this thread).