Add clamav virus scan to mails
This commit is contained in:
30
etc/clamav/clamav-milter.conf
Normal file
30
etc/clamav/clamav-milter.conf
Normal 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
|
Reference in New Issue
Block a user