Ok, it looks like there is a clamav-milter available in the EPEL, that seems to 
be the simplest solution.
So I've installed clamav-milter-systemd clamav-scanner-systemd
I've corrected the config for clamd:
cp /usr/share/doc/clamav-server-0.98.4/clamd.conf /etc/clamd.d/clamd.conf
LogSyslog yesDatabaseDirectory /var/lib/clamavTCPSocket 3310TCPAddr 
127.0.0.1User clamscanAllowSupplementaryGroups yes
I then corrected the milter config

vi /etc/mail/clamav-milter.conf
# Example
MilterSocket inet:8894
User clamilt
AllowSupplementaryGroups yes
ClamdSocket tcp:127.0.0.1:3310
LogSyslog yes
OnClean Accept
OnInfected Reject
OnFail Defer
As it seems to be Postfix 2.10, that part should be ok, now I just need to find 
out how to test it before activating it in postfix?




    Den 14:16 torsdag den 30. november 2017 skrev K F <fribse2...@yahoo.dk>:
 

 Hi All
Ok, got the postfix/dovecot solution up and running, and it's performing 
nicely. It's a definite upgrade from the Windows 2003+SMTP server solution that 
was there before, performance is not comparable, and management with the 
postfixadmin is just simply nice. Again, thankyou very much to everybody that 
helped with that.

I would like to add a solution for antivirus, we have Symantec corporatewise, 
but compiling the SEP on CentOS doesn't really work well, so I was thinking 
about going with ClamAV.
Now the integration to postfix is the question, I JUST need the antivirus, not 
spam filtering or anything like that, so I guess something like Amavis-new is 
overkill.
But what else is good, and maintained out there, and easy to keep updated?
Best regardsKenneth


   

Reply via email to