]> git.proxmox.com Git - pmg-api.git/blame - src/templates/clamd.conf.in
adapt clamav.conf.in to new upstream version
[pmg-api.git] / src / 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 %]
c87ff60d 8AlertEncrypted true
6dbb10d9 9[% ELSE %]
c87ff60d 10AlertEncrypted false
6dbb10d9
DM
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
c87ff60d 37AlertBrokenExecutables true
6dbb10d9
DM
38ExitOnOOM false
39LeaveTemporaryFiles false
40AlgorithmicDetection true
41ScanELF true
42IdleTimeout 30
43PhishingSignatures true
44PhishingScanURLs true
c87ff60d
SI
45AlertPhishingSSLMismatch false
46AlertPhishingCloak false
6dbb10d9
DM
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