$OpenBSD: patch-etc_clamd_conf_sample,v 1.12 2021/04/07 19:17:21 sthen Exp $

Index: etc/clamd.conf.sample
--- etc/clamd.conf.sample.orig
+++ etc/clamd.conf.sample
@@ -11,7 +11,7 @@ Example
 # LogFile must be writable for the user running daemon.
 # A full path is required.
 # Default: disabled
-#LogFile /tmp/clamd.log
+#LogFile /var/log/clamd.log
 
 # By default the log file is locked for writing - the lock protects against
 # running clamd multiple times (if want to run another clamd, please
@@ -82,7 +82,7 @@ Example
 
 # Path to the database directory.
 # Default: hardcoded (depends on installation options)
-#DatabaseDirectory /var/lib/clamav
+#DatabaseDirectory /var/db/clamav
 
 # Only load the official signatures published by the ClamAV project.
 # Default: no
@@ -216,7 +216,7 @@ Example
 
 # Run as another user (clamd must be started by root for this option to work)
 # Default: don't drop privileges
-#User clamav
+User _clamav
 
 # Stop daemon when libclamav reports out of memory condition.
 #ExitOnOOM yes
@@ -534,7 +534,7 @@ Example
 # deeply the process should be continued.
 # Note: setting this limit too high may result in severe damage to the system.
 # Default: 16
-#MaxRecursion 10
+MaxRecursion 12
 
 # Number of files to be scanned within an archive, a document, or any other
 # container file.
