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