Page 1 of 2
Can not install qmail-scanner
Posted: Tue Aug 08, 2006 12:24 pm
by torbayCS
Hello
I have tried installing qmail-scanner and can not seem to get it to work.
I have installed this in the past on other servers, so did not think it would be so hard.
Upon running yum install qmail-scanner i get
Installing: qmail-scanner 100 % done 1/1
cannot write to /var/spool/qmailscan/qmail-scanner-queue-version.txt.tmp - Permission denied at /var/qmail/bin/qmail-scanner-queue.pl line 2089.
PSA Qmail works perfectly I just can't install this. Any ideas???
Al
Posted: Tue Aug 08, 2006 8:47 pm
by scott
Yeah that path is wrong, what version of qmail-scanner is being installed?
Posted: Tue Aug 08, 2006 9:17 pm
by torbayCS
yum tells me qmail-scanner.noarch 1:2.01-9.rhfc3.art
HTH
Posted: Thu Aug 10, 2006 7:25 am
by scott
That shouldnt be happening with that version, /var/spool/qmailscan has been deprecated and replaced with /var/spool/qscan. Catch me on IM sometime, Id like to take a look at your system to see whats causing that.
Posted: Sat Aug 12, 2006 1:53 am
by pridedata
scott this is the same issue i am having in my post qmail-scanner.
aim:othinchild
icq:21072609
yahoo:tyrsblade
SOLVED!!!!!!!!
Posted: Sat Aug 12, 2006 2:02 am
by pridedata
yum remove qmail-scanner
cd /var/spool
rm -rf qmailscan/
rm -rf qscan/
yum install qmail-scanner
STOP clamd and spammassassin
qmail-reconfigure
start clamd and spamassassin
qmail-recondfigure
and finished.... awesome!
Posted: Sun Aug 13, 2006 9:56 am
by torbayCS
That worked thanks. I now have a working qmail-scanner. Hopefully this should cut down on the ammount of spam.
One question, is it possible to find out how many emails qmail-scanner/spamassassin rejects as spam?
We were getting a lot of 'bounce spam' problems and I would just like to know if the spammer is still trying to get mail bounced through our server.
Thanks again pridedata
Alan
Posted: Tue Aug 15, 2006 1:24 pm
by scott
Theres a shell script in the /var/spool/qscan dir that you can run against the qmail-queue.log file.
Posted: Thu Aug 17, 2006 8:43 am
by sander815
why is it that i cannot stop my spamassassin?
[root@server1 root]# service spamassassin stop
Stopping spamd: [FAILED]
Posted: Thu Aug 17, 2006 10:16 am
by breun
Use ps to find the pids of spamd and kill them.
Posted: Fri Aug 18, 2006 3:01 am
by sander815
well:
[root@server1 log]# ps -aux | grep spamd
root 13310 0.0 6.4 38184 32184 ? S Aug17 0:04 /usr/bin/spamd -d -c -m5 -H -r /var/run/spamd.pid
root 13341 0.0 6.4 38184 32112 ? S Aug17 0:00 spamd child
root 13342 0.0 6.4 38184 32112 ? S Aug17 0:00 spamd child
root 21152 0.0 0.0 1504 452 pts/0 S 08:58 0:00 grep spamd
[root@server1 log]# kill -9 21152
-bash: kill: (21152) - No such process
[root@server1 log]#
Posted: Fri Aug 18, 2006 3:34 am
by breun
You tried to kill exactly the wrong process. 21152 was the 'grep spamd' you did, which indeed has already finished by the time you return to the prompt. You should have killed 13310, 13341 and 13342.
You can also filter out any results containg grep of course: ps aux | grep spamd | grep -v grep

Posted: Sat Aug 26, 2006 3:29 am
by pridedata
%killall -9 spamd
Posted: Thu Aug 31, 2006 7:39 pm
by torbayCS
scott wrote:Theres a shell script in the /var/spool/qscan dir that you can run against the qmail-queue.log file.
Hi Scott
Can you post a copy of that shell script somewhere or email it to me. As it is not present on my system.
Cheers
Posted: Thu Aug 31, 2006 7:53 pm
by breun
No scripts in my /var/spool/qscan dir either.