Put clamav and amavis togther, fix spam filtering

This commit is contained in:
Pierre Jaury
2016-03-02 22:31:44 +01:00
parent e9ae250d7d
commit f51180415c
10 changed files with 16 additions and 33 deletions

View File

@@ -0,0 +1,54 @@
###############
# General
###############
DatabaseDirectory /data
LogSyslog yes
LogTime yes
PidFile /run/clamav/clamd.pid
LocalSocket /tmp/clamd.sock
###############
# Results
###############
DetectPUA yes
ExcludePUA NetTool
ExcludePUA PWTool
AlgorithmicDetection yes
Bytecode yes
###############
# Scan
###############
ScanPE yes
DisableCertCheck yes
ScanELF yes
DetectBrokenExecutables yes
ScanOLE2 yes
ScanPDF yes
ScanSWF yes
ScanMail yes
PhishingSignatures yes
PhishingScanURLs yes
ScanHTML yes
ScanArchive yes
###############
# Scan
###############
MaxScanSize 150M
MaxFileSize 30M
MaxRecursion 10
MaxFiles 15000
MaxEmbeddedPE 10M
MaxHTMLNormalize 10M
MaxHTMLNoTags 2M
MaxScriptNormalize 5M
MaxZipTypeRcg 1M
MaxPartitions 128
MaxIconsPE 200
PCREMatchLimit 10000
PCRERecMatchLimit 10000

View File

@@ -0,0 +1,19 @@
###############
# General
###############
DatabaseDirectory /data
LogSyslog yes
LogTime yes
PidFile /run/clamav/freshclam.pid
DatabaseOwner root
###############
# Updates
###############
DatabaseMirror database.clamav.net
ScriptedUpdates yes
NotifyClamd /etc/clamav/clamd.conf
SafeBrowsing yes
Bytecode yes