]> git.proxmox.com Git - pmg-api.git/blame - templates/clamd.conf.in
fix #2172: sort mynetworks template var to make postfix config rewrite stable
[pmg-api.git] / templates / clamd.conf.in
CommitLineData
6dbb10d9
DM
1#Automatically Generated by proxmox
2LocalSocket /var/run/clamav/clamd.ctl
3FixStaleSocket true
4User clamav
6dbb10d9
DM
5ScanMail true
6ScanArchive true
7[% IF pmg.clamav.archiveblockencrypted %]
8ArchiveBlockEncrypted true
9[% ELSE %]
10ArchiveBlockEncrypted false
11[% END %]
12MaxRecursion [% pmg.clamav.archivemaxrec %]
13MaxFiles [% pmg.clamav.archivemaxfiles %]
14MaxFileSize [% pmg.clamav.archivemaxsize %]
15MaxScanSize [% pmg.clamav.maxscansize %]
16MaxDirectoryRecursion 15
17FollowDirectorySymlinks false
18FollowFileSymlinks false
19ReadTimeout 180
20MaxThreads 12
21MaxConnectionQueueLength 15
f609bf7f 22StreamMaxLength [% pmg.mail.maxsize %]
6dbb10d9
DM
23LogSyslog true
24LogFacility LOG_LOCAL6
25LogClean false
26LogVerbose false
27PidFile /var/run/clamav/clamd.pid
28DatabaseDirectory /var/lib/clamav/
29TemporaryDirectory /tmp
30SelfCheck 3600
31Foreground false
32Debug false
33ScanPE true
34ScanOLE2 true
35ScanHTML true
36ScanPDF true
37DetectBrokenExecutables true
38ExitOnOOM false
39LeaveTemporaryFiles false
40AlgorithmicDetection true
41ScanELF true
42IdleTimeout 30
43PhishingSignatures true
44PhishingScanURLs true
45PhishingAlwaysBlockSSLMismatch false
46PhishingAlwaysBlockCloak false
47DetectPUA false
48ScanPartialMessages false
49HeuristicScanPrecedence false
50[% IF pmg.clamav.maxcccount %]
51StructuredDataDetection true
52StructuredMinCreditCardCount [% pmg.clamav.maxcccount %]
53StructuredMinSSNCount [% pmg.clamav.maxcccount %]
54[% ELSE %]
55StructuredDataDetection false
56[% END %]
57CommandReadTimeout 5
58SendBufTimeout 200
59MaxQueue 100
60LogFileMaxSize 0
61Bytecode true
62BytecodeSecurity TrustSigned