Page 1 of 1

Plesk 9.2.1 not working with ClamAV and Qmail-scanner

Posted: Sat Jun 13, 2009 8:48 pm
by accend
Hi,

I've been using ART's solution for clamav and plesk for years now and never had any problems with it (great solution for updates php, mysql, etc).

We just got a new server and installed plesk 9.2.1, used the atomic channel to upgrade PHP and MySQL and everything worked just fine.

However, we haven't been able to make qmail work with clamav and qmail-scanner.

Are there any limitations on using ART's clamav ? (i.e. rbl, spf, domainkeys, smtp alternate port, etc) ??

im trying to install it:

# service psa stopall
# yum install clamd qmail-scanner
# service clamd start
# chkconfig clamd on
# chown -R qmailq:qmail /var/run/clamav
# chown -R qmailq:qmail /var/clamav
# service psa startall
Starting xinetd service... done
Starting named service... done
Starting mysqld service... done
Starting postgresql service... done
Starting psa-spamassassin service... done
Plesk: Starting Mail Server... already started

Plesk Control Panel will show that Qmail is Running as well as the command line. However, this is not true. No email can be sent using the server (SMTP ports 25 , 587 or 2525 (smtp_alternate custom port)

====

Had to stop everything, yum remove clamd and qmail-scanner (and dependancies) remove psa-qmail, and use autoinstaller to reinstall qmail to get everything back to normal. Tried this twice already.

Im i missing something? Any suggestion is appreciated.

PS1 - I would love to use plesk's 9.2 spamassassin as it gives users complete control on their settings (black white lists, etc)
PS2 - qmail-scanner-2.05-3.el5.art.noarch.rpm is the one being installed via atomic channel.
PS3 - We currently use a GAMERA as a MX server for all plesk servers, however, SPF, RBL checking in the plesk boxes is broken because it considers the GAMERA gateway as the IP address from which it receives email.

Re: Plesk 9.2.1 not working with ClamAV and Qmail-scanner

Posted: Sun Jun 14, 2009 12:26 pm
by Galactic Zero
I'd check the permissions on ClamAV and make sure that clamd, spamd are running. Also, have you done a qmail-scanner-reconfigure? I know you said that you've used ART's stuff in the past, just want to make sure...

Permissions on clamav in /var should be qscand:qscand

At root of VAR: drwxr-xr-x 3 qscand qscand 4096 Jun 11 10:44 clamav
In Folder clamav:
[root@gz clamav]# ls -la
total 86508
drwxr-xr-x 3 qscand qscand 4096 Jun 11 10:44 .
drwxr-xr-x 27 root root 4096 Apr 7 22:26 ..
-rw-r--r-- 1 qscand qscand 1750016 Jun 14 06:36 daily.cld
-rw-r--r-- 1 qscand qscand 524392 May 13 2008 daily.cvd.rpmnew
-rw-r--r-- 1 qscand qscand 43452 Jun 13 06:32 honeynet.hdb
-rw-r--r-- 1 qscand qscand 2533014 Jun 13 14:29 junk.ndb
-rw-r--r-- 1 qscand qscand 203486 Jun 11 10:34 lott.ndb
-rw-r--r-- 1 qscand qscand 47079936 May 15 07:14 main.cld
drwxr-xr-x 2 qscand qscand 4096 May 18 2008 main.inc
-rw-r--r-- 1 qscand qscand 94497 Jun 13 23:01 mbl.db
-rw------- 1 qscand qscand 1040 Jun 14 12:19 mirrors.dat
-rw-r--r-- 1 qscand qscand 19088370 May 20 03:51 MSRBL-Images-FULL-SoN.hdb
-rw-r--r-- 1 qscand qscand 21244 May 18 2008 MSRBL-Images.hdb
-rw-r--r-- 1 qscand qscand 243663 May 21 12:01 MSRBL-SPAM.ndb
-rw-r--r-- 1 qscand qscand 1947013 Jun 13 09:15 phish.ndb
-rw-r--r-- 1 qscand qscand 1694631 Dec 16 05:31 phish.ndb-bak
-rw-r--r-- 1 qscand qscand 172 Dec 16 03:34 phish.ndb.gz
-rw-r--r-- 1 qscand qscand 33941 Jun 4 07:33 rogue.hdb
-rw-r--r-- 1 qscand qscand 1593301 Jun 13 14:25 scam.ndb
-rw-r--r-- 1 qscand qscand 1422996 Dec 16 05:31 scam.ndb-bak
-rw-r--r-- 1 qscand qscand 171 Dec 16 03:34 scam.ndb.gz
-rw-r--r-- 1 qscand qscand 8737056 Jun 13 06:32 securiteinfo.hdb
-rw-r--r-- 1 qscand qscand 21545 Jun 9 04:17 spamimg.hdb
-rw-r--r-- 1 qscand qscand 6879 Jun 11 02:26 spam.ldb
-rw-r--r-- 1 qscand qscand 546824 Jun 12 17:51 spear.ndb
-rw-r--r-- 1 qscand qscand 777577 Jun 13 06:32 vx.hdb

Hope this helps.

Re: Plesk 9.2.1 not working with ClamAV and Qmail-scanner

Posted: Tue Jun 30, 2009 12:32 pm
by mneese
from the parallels plesk forum:
Good news, plesk's qmail already has this built in. By default it already listens on port 465, and if you check under your server mail settings you can also enable the submission port, 587.

Re: Plesk 9.2.1 not working with ClamAV and Qmail-scanner

Posted: Wed Jul 01, 2009 6:40 pm
by mneese
just thinking out loud----don't you have to uninstall the psa-spamassassin first?