• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Install Anti Virus and get it work with plesk panel ?

Yes, because that's the reason why I ask.
Maybe an other user have implemented one of this third party anti-virus already and give me a howto.
Does all your customers use either Premium Anti-Virus or Kaspersky ?
 
You can implement other AV scanners on plesk using either qmail-scanner (for qmail), or clapf (for postfix). Both packages are available in the atomic repo. Clapf supports drweb and clamav, qmail-scanner supports every AV scanner I believe. Personally I use qmail-scanner and clamav.

They can be installed from the atomic repo with the following:

wget -q -O - http://www.atomicorp.com/installers/atomic |sh

yum install clamd

# qmail users
yum install qmail-scanner

# postfix users
yum install clapf
 
Thank you.

We using postfix at the moment but your solution with qmail sounds better.
Are there advantages and disadvanteges using qmail with plesk and as MTA ?
 
Not really, I dont think qmail has any specific advantages over postfix. I use it because qmail was the only option when plesk first came out. Id say use whatever you are comfortable with.
 
OK, so if there are also no disadvantages using qmail, I think I will switch to qmail because the advantage of qmail-scanner with support of a lot virus-scanner
 
clamav solution plesk11/postfix/centos based:

> yum install clamav-milter clamd clamav clamav-db
> chkconfig clamav-milter on
> chkconfig clamd on
> cd /etc/postfix
> postconf -e smtpd_milters=unix:/var/run/clamav/clamav-milter.sock
> vi /etc/clamav-milter.conf

add:
AllowSupplementaryGroups yes
LogFile /var/log/clamav/clamav-milter.log
LogTime yes
MilterSocketMode 775
AddHeader yes
LogSyslog yes
LogFacility LOG_MAIL
LogInfected Basic
OnInfected Blackhole

> service clamd start
> service clamav-milter start

Regards Arjen.
 
clamav solution plesk11/postfix/centos based:

> yum install clamav-milter clamd clamav clamav-db
> chkconfig clamav-milter on
> chkconfig clamd on
> cd /etc/postfix
> postconf -e smtpd_milters=unix:/var/run/clamav/clamav-milter.sock
> vi /etc/clamav-milter.conf

add:
AllowSupplementaryGroups yes
LogFile /var/log/clamav/clamav-milter.log
LogTime yes
MilterSocketMode 775
AddHeader yes
LogSyslog yes
LogFacility LOG_MAIL
LogInfected Basic
OnInfected Blackhole

> service clamd start
> service clamav-milter start

Regards Arjen.

Hello,

Sorry to revive an older post.

I wanted to check/confirm that this method still works and should work with Plesk11 on CentOS 6.4 with Postfix. We also use the MagicSpam for Plesk extension, and we have Plesk11's Greylisting enabled.

I want the A/V scanning to occur at SMTP time so if anything is detected, the messages will be rejected at SMTP time, instead of being queued and deleted later.

As far as I can tell, the other suggestions, for installing the ClapF package, would scan messages after they were already queued. Please, someone, correct me if I am mistaken.

I was also interested in finding something that would allow spam messages to be rejected at SMTP time if they scored a high score with Spamassassin.
 
In both qmail-scanner and clapf they are implementing a 2nd mail queue before the main queue. Mail comes in via the smtp receiver, goes to the scanner queue, and then finally to the local delivery queue.

Its possible in qmail-scanner to change the behavior to reject messages to the sender based on a spamassassin threshold. Im not sure about clapf, I havent tried that lately.

Also I did work up a web interface for all this in plesk 10:
https://github.com/Atomicorp/atomic-scanner

Havent really had the time to update it since then, I'll bet it wouldnt take much effort to sort it out for 12 though
 
Here is another one,
i am on plesk 12 and postfix. i actually installed clamav and clapf no problmes running :

yum install clamd

service clamd start

yum install clapf

now for clapf i got a library problem

Code:
 yum install clapf
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
epel/metalink                                            |  27 kB     00:00
* atomic: mir01.syntis.net
* base: centosmirror.netcup.net
* epel: mirrors.n-ix.net
* extras: centosmirror.netcup.net
* updates: centosmirror.netcup.net
atomic                                                   | 3.4 kB     00:00
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
updates                                                  | 3.4 kB     00:00
357 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package clapf.x86_64 0:0.4.7.4-2.el6.art will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package       Arch           Version                      Repository      Size
================================================================================
Installing:
clapf         x86_64         0.4.7.4-2.el6.art            atomic         193 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 193 k
Installed size: 828 k
Is this ok [y/N]: y
Downloading Packages:
clapf-0.4.7.4-2.el6.art.x86_64.rpm                       | 193 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : clapf-0.4.7.4-2.el6.art.x86_64                               1/1
  Verifying  : clapf-0.4.7.4-2.el6.art.x86_64                               1/1

Installed:
  clapf.x86_64 0:0.4.7.4-2.el6.art

Complete!

so installation ok but when i try to start it :

Code:
# /etc/init.d/clapf start
Starting Clapf AntiVirus/AntiSpam Daemon: clapf: error while loading shared libraries: libgslcblas.so.0: cannot open shared object file: No such file or directory[FAILED]

any ideas?
 
Hi and thank you for your answer
that did it! but now no emails are sent or received at the whole server (no errors). do i need to change anything at the clapf.conf?
even when i stop clapf nothing changes. in order to start sending and receiving i need to remove clapf.
 
Hi and thank you for your answer
that did it! but now no emails are sent or received at the whole server (no errors). do i need to change anything at the clapf.conf?
even when i stop clapf nothing changes. in order to start sending and receiving i need to remove clapf.

Did you find a solution for your problem I have the same issue?
 
Does anyone have anything new to add to how to cnfigure clapf and postfix using Centos6 and plesk 12?
 
Back
Top