1 diff -ur clamav-1.2.0.org/etc/clamav-milter.conf.sample clamav-1.2.0/etc/clamav-milter.conf.sample
2 --- clamav-1.2.0.org/etc/clamav-milter.conf.sample 2023-08-27 00:00:24.000000000 +0200
3 +++ clamav-1.2.0/etc/clamav-milter.conf.sample 2023-09-05 10:47:53.869998771 +0200
7 # Comment or remove the line below.
14 #MilterSocket /run/clamav/clamav-milter.sock
15 #MilterSocket /tmp/clamav-milter.sock
16 #MilterSocket inet:7357
17 +MilterSocket /var/lib/clamav/clamav-milter.socket
19 # Define the group ownership for the (unix) milter socket.
20 # Default: disabled (the primary group of the user running clamd)
21 -#MilterSocketGroup virusgroup
22 +#MilterSocketGroup clamav
24 # Sets the permissions on the (unix) milter socket to the specified mode.
25 # Default: disabled (obey umask)
29 #PidFile /run/clamav/clamav-milter.pid
30 +PidFile /var/run/clamav/clamav-milter.pid
32 # Optional path to the global temporary directory.
33 # Default: system specific (usually /tmp or /var/tmp).
36 #ClamdSocket tcp:scanner.mydomain:7357
37 #ClamdSocket unix:/run/clamav/clamd.sock
39 +ClamdSocket unix:/var/lib/clamav/clamd.socket
44 # Use system logger (can work together with LogFile).
50 # Specify the type of syslog messages - please refer to 'man syslog'
54 -#LogFacility LOG_MAIL
57 # Enable verbose logging.
59 Only in clamav-1.2.0/etc: clamav-milter.conf.sample~
60 Only in clamav-1.2.0/etc: clamav-milter.conf.sample.orig
61 Only in clamav-1.2.0/etc: clamav-milter.conf.sample.rej
62 diff -ur clamav-1.2.0.org/etc/clamd.conf.sample clamav-1.2.0/etc/clamd.conf.sample
63 --- clamav-1.2.0.org/etc/clamd.conf.sample 2023-08-27 00:00:24.000000000 +0200
64 +++ clamav-1.2.0/etc/clamd.conf.sample 2023-09-05 10:48:39.263332082 +0200
68 # Comment or remove the line below.
72 # Uncomment this option to enable logging.
73 # LogFile must be writable for the user running daemon.
74 # A full path is required.
76 -#LogFile /tmp/clamd.log
77 +#LogFile /var/log/clamd.log
79 # By default the log file is locked for writing - the lock protects against
80 # running clamd multiple times (if want to run another clamd, please
83 # Use system logger (can work together with LogFile).
88 # Specify the type of syslog messages - please refer to 'man syslog'
91 -#LogFacility LOG_MAIL
94 # Enable verbose logging.
97 # also owned by root to keep other users from tampering with it.
99 #PidFile /run/clamav/clamd.pid
100 +PidFile /var/run/clamav/clamd.pid
102 # Optional path to the global temporary directory.
103 # Default: system specific (usually /tmp or /var/tmp).
104 @@ -100,10 +101,11 @@
105 # Default: disabled (must be specified by a user)
106 #LocalSocket /run/clamav/clamd.sock
107 #LocalSocket /tmp/clamd.sock
108 +LocalSocket /var/lib/clamav/clamd.socket
110 # Sets the group ownership on the unix socket.
111 # Default: disabled (the primary group of the user running clamd)
112 -#LocalSocketGroup virusgroup
113 +#LocalSocketGroup clamav
115 # Sets the permissions on the unix socket to the specified mode.
116 # Default: disabled (socket is world accessible)
119 # Run as another user (clamd must be started by root for this option to work)
120 # Default: don't drop privileges
124 # Stop daemon when libclamav reports out of memory condition.
126 Only in clamav-1.2.0/etc: clamd.conf.sample.orig
127 Only in clamav-1.2.0/etc: clamd.conf.sample.rej
128 diff -ur clamav-1.2.0.org/etc/freshclam.conf.sample clamav-1.2.0/etc/freshclam.conf.sample
129 --- clamav-1.2.0.org/etc/freshclam.conf.sample 2023-08-27 00:00:24.000000000 +0200
130 +++ clamav-1.2.0/etc/freshclam.conf.sample 2023-09-05 10:47:06.513332122 +0200
132 ## Please read the freshclam.conf(5) manual before editing this file.
135 +## PLD NOTE: Note that freshclam is called periodically via cron
136 +## Check /etc/sysconfig/clamd for details
137 +## Seems better to run task once per period than keep daemon running
139 +## But if you have arguments please tell us.
141 # Comment or remove the line below.
145 # Path to the database directory.
146 # WARNING: It must match clamd.conf's directive!
149 # Use system logger (can work together with UpdateLogFile).
154 # Specify the type of syslog messages - please refer to 'man syslog'
155 # for facility names.
157 # By default when started freshclam drops privileges and switches to the
158 # "clamav" user. This directive allows you to change the database owner.
159 # Default: clamav (may depend on installation options)
160 -#DatabaseOwner clamav
161 +DatabaseOwner clamav
163 # Use DNS to verify virus database version. FreshClam uses DNS TXT records
164 # to verify database and software versions. With this directive you can change
167 # Number of database checks per day.
168 # Default: 12 (every two hours)
173 # The HTTPProxyServer may be prefixed with [scheme]:// to specify which kind
176 # Send the RELOAD command to clamd.
178 -#NotifyClamd /path/to/clamd.conf
179 +#NotifyClamd /etc/clamd.conf
181 # Run command after successful database update.
182 # Use EXIT_1 to return 1 after successful database update.
183 Only in clamav-1.2.0/etc: freshclam.conf.sample.orig