Add clamav virus scan to mails

This commit is contained in:
Daniel Winzen
2018-11-11 11:17:20 +01:00
parent bb21f9f10b
commit f4ca23336b
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,30 @@
#Automatically Generated by clamav-milter postinst
#To reconfigure clamav-milter run #dpkg-reconfigure clamav-milter
#Please read /usr/share/doc/clamav-base/README.Debian.gz for details
MilterSocket /var/spool/postfix/clamav/clamav-milter.ctl
FixStaleSocket true
User clamav
ReadTimeout 120
Foreground false
PidFile /var/run/clamav/clamav-milter.pid
ClamdSocket unix:/var/run/clamav/clamd.ctl
OnClean Accept
OnInfected Reject
OnFail Defer
AddHeader Replace
LogSyslog true
LogFacility LOG_LOCAL6
LogVerbose false
LogInfected Full
LogClean Off
LogRotate true
MaxFileSize 25M
SupportMultipleRecipients true
RejectMsg Blocked by ClamAV %v
TemporaryDirectory /tmp
LogFile /var/log/clamav/clamav-milter.log
LogTime true
LogFileUnlock false
LogFileMaxSize 1M
MilterSocketGroup clamav
MilterSocketMode 666