# Merge these directives into the distribution's clamd.conf after review. # Laravel and clamd must run on the same host; the TCP listener is loopback-only. DatabaseDirectory /var/lib/clamav LocalSocket /run/clamav/clamd.ctl LocalSocketMode 660 TCPSocket 3310 TCPAddr 127.0.0.1 User clamav MaxThreads 2 MaxQueue 16 CommandReadTimeout 5 ReadTimeout 120 SendBufTimeout 30 MaxScanTime 120000 MaxFileSize 25M MaxScanSize 100M MaxRecursion 10 MaxFiles 1000 StreamMaxLength 25M AlertEncrypted yes AlertExceedsMax yes LogTime yes