store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Sun Aug 18, 2019 6:18 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Plesk 12 and ClamAV
Unread postPosted: Wed Aug 27, 2014 9:10 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 10, 2008 9:12 pm
Posts: 512
Location: Southampton, UK
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?

_________________
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 12 and ClamAV
Unread postPosted: Thu Aug 28, 2014 7:46 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Aug 01, 2006 2:45 pm
Posts: 573
Location: Netherlands
What about installing qmail-scanner (with SpamAssassin, ClamAV, DCC, Razor and Pyzor) from the Atomic channel?

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 12 and ClamAV
Unread postPosted: Thu Aug 28, 2014 10:46 am 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 10, 2008 9:12 pm
Posts: 512
Location: Southampton, UK
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:-

Code:
# 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


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.

_________________
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 12 and ClamAV
Unread postPosted: Thu Aug 28, 2014 10:47 am 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 10, 2008 9:12 pm
Posts: 512
Location: Southampton, UK
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 12 and ClamAV
Unread postPosted: Fri Aug 29, 2014 11:10 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Aug 01, 2006 2:45 pm
Posts: 573
Location: Netherlands
What do you mean by "PSA Qmail scanner"? Qmail-scanner is not distributed by Plesk.

Quote:
But it breaks at the point of freshclam.

What breaks, what's the error message?

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 12 and ClamAV
Unread postPosted: Fri Aug 29, 2014 8:13 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 10, 2008 9:12 pm
Posts: 512
Location: Southampton, UK
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).

_________________
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 12 and ClamAV
Unread postPosted: Sat Aug 30, 2014 10:26 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 8329
Location: earth
Really? I'm not seeing it on the plesk 12 systems running qmail here. Where is it under?


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 12 and ClamAV
Unread postPosted: Sun Aug 31, 2014 11:46 am 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 10, 2008 9:12 pm
Posts: 512
Location: Southampton, UK
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 12 and ClamAV
Unread postPosted: Sun Aug 31, 2014 12:12 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 8329
Location: earth
You were saying that plesk had an option to install qmail-scanner


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 12 and ClamAV
Unread postPosted: Sun Aug 31, 2014 1:00 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 10, 2008 9:12 pm
Posts: 512
Location: Southampton, UK
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 12 and ClamAV
Unread postPosted: Sat Feb 07, 2015 1:39 pm 
Offline
Forum User
Forum User

Joined: Thu Jan 08, 2009 4:31 am
Posts: 35
Location: Fort Worth, TX
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:

Code:
yum remove clamd
qmail-scanner-reconfigure


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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 12 and ClamAV
Unread postPosted: Sat Feb 07, 2015 8:36 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 10, 2008 9:12 pm
Posts: 512
Location: Southampton, UK
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.

_________________
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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group