Plesk 12 and ClamAV
-
- Forum Regular
- Posts: 512
- Joined: Mon Mar 10, 2008 9:12 pm
- Location: Southampton, UK
Plesk 12 and ClamAV
Hi all,
I've got a CentOS 6.5 64bit Digital Ocean box running with Plesk 12 install (Web App Edition), and all is fine. I'm running the Plesk Qmail install, but haven't installed Dr Web or SpamAssassin.
Is it possible to install SpamAssassin, either PSA version or other, and ClamAV to handle email virus scanning?
Earlier I did give it ago, uninstalling PSA's qmail, and installing spamassassin plus ClamAV, but I encountered a whole bunch of errors with ClamAV, to do with config life not being configured and more.
I since restored the droplet from a backup.
I remember last time I did this on my server it was very straight forward, but doesn't seem to be this time, as the guide I wrote previously just doesn't work.
Any advice?
I've got a CentOS 6.5 64bit Digital Ocean box running with Plesk 12 install (Web App Edition), and all is fine. I'm running the Plesk Qmail install, but haven't installed Dr Web or SpamAssassin.
Is it possible to install SpamAssassin, either PSA version or other, and ClamAV to handle email virus scanning?
Earlier I did give it ago, uninstalling PSA's qmail, and installing spamassassin plus ClamAV, but I encountered a whole bunch of errors with ClamAV, to do with config life not being configured and more.
I since restored the droplet from a backup.
I remember last time I did this on my server it was very straight forward, but doesn't seem to be this time, as the guide I wrote previously just doesn't work.
Any advice?
Matt
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
Re: Plesk 12 and ClamAV
What about installing qmail-scanner (with SpamAssassin, ClamAV, DCC, Razor and Pyzor) from the Atomic channel?
Lemonbit Internet Dedicated Server Management
-
- Forum Regular
- Posts: 512
- Joined: Mon Mar 10, 2008 9:12 pm
- Location: Southampton, UK
Re: Plesk 12 and ClamAV
Well this is what I want to know. My current guide that I wrote, which worked ok with Plesk 11 under CentOS 5 and 6 32bit, doesn't seem to work with Plesk 12 under CentOS 6.5 64bit.
In short this is the commands used in the old guide:-
That is the just of it. But it breaks at the point of freshclam. That is where it reports an issue with the configuration file.
I'm not a linux guru, so my know on this is limited.
In short this is the commands used in the old guide:-
Code: Select all
# wget -q -O - http://www.atomicorp.com/installers/atomic |sh
# yum update
# yum remove drweb-qmail drweb
# yum remove psa-spamassassin
# yum install clamd
# yum install qmail-scanner
# freshclam
# service clamd start
# chkconfig clamd on
# service spamassassin start
# chkconfig spamassassin on
# freshclam –d –c 2
# qmail-scanner-reconfigure
I'm not a linux guru, so my know on this is limited.
Matt
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
-
- Forum Regular
- Posts: 512
- Joined: Mon Mar 10, 2008 9:12 pm
- Location: Southampton, UK
Re: Plesk 12 and ClamAV
Oh and currently it has the PSA Qmail scanner installed, as it is included in Plesk 12, but no Spam Assassin installed or Dr Web.
Matt
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
Re: Plesk 12 and ClamAV
What do you mean by "PSA Qmail scanner"? Qmail-scanner is not distributed by Plesk.
What breaks, what's the error message?But it breaks at the point of freshclam.
Lemonbit Internet Dedicated Server Management
-
- Forum Regular
- Posts: 512
- Joined: Mon Mar 10, 2008 9:12 pm
- Location: Southampton, UK
Re: Plesk 12 and ClamAV
Qmail scanner is now an option in Plesk 12 instead of the defaults. So is there any difference between the one you can download via the Plesk panel (via Updates and Upgrades), compare to the one from ART's yum channel?
In regards to ClamAV, I took a quick look, and it seemed that nothing was configured. In previous installs I've never had to touch the config, and it has worked out of the box so to say. Now it errors out when it tries to start.
Errors I encountered:
Starting Clam AntiVirus Daemon: ERROR: Please edit the example config file /etc/clamd.conf
Starting Clam AntiVirus Daemon: ERROR: Please define server type (local and/or TCP).
In regards to ClamAV, I took a quick look, and it seemed that nothing was configured. In previous installs I've never had to touch the config, and it has worked out of the box so to say. Now it errors out when it tries to start.
Errors I encountered:
Starting Clam AntiVirus Daemon: ERROR: Please edit the example config file /etc/clamd.conf
Starting Clam AntiVirus Daemon: ERROR: Please define server type (local and/or TCP).
Matt
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Plesk 12 and ClamAV
Really? I'm not seeing it on the plesk 12 systems running qmail here. Where is it under?
-
- Forum Regular
- Posts: 512
- Joined: Mon Mar 10, 2008 9:12 pm
- Location: Southampton, UK
Re: Plesk 12 and ClamAV
Where's what?
Matt
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Plesk 12 and ClamAV
You were saying that plesk had an option to install qmail-scanner
-
- Forum Regular
- Posts: 512
- Joined: Mon Mar 10, 2008 9:12 pm
- Location: Southampton, UK
Re: Plesk 12 and ClamAV
Well the qmail mail service, yes.
Matt
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
-
- Forum User
- Posts: 35
- Joined: Thu Jan 08, 2009 4:31 am
- Location: Fort Worth, TX
- Contact:
Re: Plesk 12 and ClamAV
qmail-scanner is FOR qmail - it is not qmail.
ART's clam av does not work out of the box.
You have two options with qmail-scanner and clamd:
#1) Configure it
#2) Remove it and move on:
Suggestion #2 isn't too helpful if you want anti-virus, but for a while I did this until I figured out what I was doing. If anyone is having trouble configuring it, I would be happy to research what I did and post it. I'm being lazy.
ART's clam av does not work out of the box.
You have two options with qmail-scanner and clamd:
#1) Configure it
#2) Remove it and move on:
Code: Select all
yum remove clamd
qmail-scanner-reconfigure
-
- Forum Regular
- Posts: 512
- Joined: Mon Mar 10, 2008 9:12 pm
- Location: Southampton, UK
Re: Plesk 12 and ClamAV
Dam, this is an old thread. Well needless to say I solve it.
Qmail (which is now optional in Plesk 12) works perfectly. I've since installed spamassassin and clamav, and it is all working perfectly.
The issue was a combination of permissions, and configuring ClamAV and Spamassassin.
Needless to say it works like a dream now, and I can even use the Plesk spam interface to manage spamassassin.
I've also since updated my guide to reflect the changes in Plesk 12.
Qmail (which is now optional in Plesk 12) works perfectly. I've since installed spamassassin and clamav, and it is all working perfectly.
The issue was a combination of permissions, and configuring ClamAV and Spamassassin.
Needless to say it works like a dream now, and I can even use the Plesk spam interface to manage spamassassin.
I've also since updated my guide to reflect the changes in Plesk 12.
Matt
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland