Page 1 of 1

installing qmail-scanner problem..don;t know why

Posted: Thu Nov 17, 2005 1:08 pm
by juanca25
Hi there

I have 7.5.3 and 7.5.4 with original php, packages..etc. when i try to install the qmail scanner i got this error..someone know what is .. both server are running fc2

First i install clavam then clamd maildrop daemontools and tnef installed correct..but

[root@XXXXXX]# yum install qmail-scanner
Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 2 - Atomic PSA-Compatible RPMS
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: qmail-scanner 1:1.25-9.rhfc2.art.noarch]
Is this ok [y/N]: y
Downloading Packages
Running test transaction:
Test transaction complete, Success!
qmail-scanner 100 % done 1/1

install: cannot stat `qmail-scanner-queue.pl': No such file or directory
setuidgid: fatal: unable to run /var/qmail/bin/qmail-scanner-queue.pl: file does not exist
setuidgid: fatal: unable to run /var/qmail/bin/qmail-scanner-queue.pl: file does not exist
chmod: cannot access `/var/qmail/bin/qmail-scanner-queue.pl': No such file or directory

Installed: qmail-scanner 1:1.25-9.rhfc2.art.noarch
Transaction(s) Complete

Any idea? thankss!!!

Posted: Thu Nov 17, 2005 1:26 pm
by scott
Make sure that clamav or spamassassin are running, then run try running qmail-scanner-reconfigure again

the same...

Posted: Mon Nov 21, 2005 1:36 am
by juanca25
Hi Scot

thanks first for your answer. clamav is installed also clamd is running and sa too... if i run that commandi got the same message..i copy paste u
This problems happens me on both fc2 servers with plesk 7.5 one .3 the other .4

on a fc3 the problem did not happen

qmail-scanner install issue *solved*

Posted: Fri Dec 02, 2005 12:25 am
by mswanson
thanks to the post by Troy McClure.

In case anybody else missed it, the cure for me on my fc1, psa 7.0.4 server was:

stop spamassassin
install qmail-scanner
start spamassassin

all was well after that.

this got rid of those error messages like this on install:

install: cannot stat `qmail-scanner-queue.pl': No such file or directory

Now onto configuring this bad boy! My main reason for spending time on this is that I've been getting slammed by what I now believe is one of my users being infected by a virus that is sending out huge amounts of email through his or her account. Due to the sucky default logging in plesk/qmail, the secure log only shows the smtp users ip. As a stopgap I threw in an iptables rule to block access from that ip, but it would be nice to know which user it is so I can find out some other way than them calling me and telling me they cant access email :)

Posted: Fri Dec 02, 2005 10:30 pm
by scott
Yeah tracing that stuff in qmail is a bitch, theres no authentication log tying the traffic to the smtp_auth credentials. You could try throwing a sniffer up and catching the traffic as it goes through the box, seeing how you know the IP of the offending user. Or maybe look through your "last" logs for that IP address (if the user used ftp it will be logged in last)