1f873aa
diff -up clamav-0.104.3/clamconf/clamconf.c.default_confs clamav-0.104.3/clamconf/clamconf.c
1f873aa
--- clamav-0.104.3/clamconf/clamconf.c.default_confs	2022-05-02 00:24:50.000000000 -0600
1f873aa
+++ clamav-0.104.3/clamconf/clamconf.c	2022-05-12 22:04:42.883348923 -0600
ba61c84
@@ -63,9 +63,9 @@ static struct _cfgfile {
629b8f1
     const char *name;
629b8f1
     int tool;
629b8f1
 } cfgfile[] = {
d526a97
-    {"clamd.conf", OPT_CLAMD},
d526a97
+    {"clamd.d/scan.conf", OPT_CLAMD},
d526a97
     {"freshclam.conf", OPT_FRESHCLAM},
d526a97
-    {"clamav-milter.conf", OPT_MILTER},
d526a97
+    {"mail/clamav-milter.conf", OPT_MILTER},
d526a97
     {NULL, 0}};
629b8f1
 
d526a97
 static void printopts(struct optstruct *opts, int nondef)
1f873aa
diff -up clamav-0.104.3/docs/man/clamav-milter.8.in.default_confs clamav-0.104.3/docs/man/clamav-milter.8.in
1f873aa
--- clamav-0.104.3/docs/man/clamav-milter.8.in.default_confs	2022-05-12 22:04:42.885348940 -0600
1f873aa
+++ clamav-0.104.3/docs/man/clamav-milter.8.in	2022-05-12 22:05:25.031719791 -0600
d526a97
@@ -27,7 +27,7 @@ Print the version number and exit.
d526a97
 Read configuration from FILE.
629b8f1
 .SH "FILES"
1f873aa
 .LP
1f873aa
-@CONFDIR@/clamav-milter.conf
1f873aa
+@CONFDIR@/mail/clamav-milter.conf
629b8f1
 .SH "AUTHOR"
1f873aa
 .LP
629b8f1
 aCaB <acab@clamav.net>
1f873aa
diff -up clamav-0.104.3/docs/man/clamav-milter.conf.5.in.default_confs clamav-0.104.3/docs/man/clamav-milter.conf.5.in
1f873aa
--- clamav-0.104.3/docs/man/clamav-milter.conf.5.in.default_confs	2022-05-12 22:04:42.887348958 -0600
1f873aa
+++ clamav-0.104.3/docs/man/clamav-milter.conf.5.in	2022-05-12 22:05:48.834929418 -0600
d526a97
@@ -239,7 +239,7 @@ Default: no
d526a97
 All options expressing a size are limited to max 4GB. Values in excess will be reset to the maximum.
629b8f1
 .SH "FILES"
1f873aa
 .LP
1f873aa
-@CONFDIR@/clamav-milter.conf
1f873aa
+@CONFDIR@/mail/clamav-milter.conf
629b8f1
 .SH "AUTHOR"
1f873aa
 .LP
629b8f1
 aCaB <acab@clamav.net>
1f873aa
diff -up clamav-0.104.3/docs/man/clamd.8.in.default_confs clamav-0.104.3/docs/man/clamd.8.in
1f873aa
--- clamav-0.104.3/docs/man/clamd.8.in.default_confs	2022-05-12 22:04:42.888348967 -0600
1f873aa
+++ clamav-0.104.3/docs/man/clamd.8.in	2022-05-12 22:07:01.657570942 -0600
629b8f1
@@ -7,7 +7,7 @@ clamd \- an anti\-virus daemon
629b8f1
 clamd [options]
629b8f1
 .SH "DESCRIPTION"
1f873aa
 .LP
1f873aa
-The daemon listens for incoming connections on Unix and/or TCP socket and scans files or directories on demand. It reads the configuration from @CONFDIR@/clamd.conf
1f873aa
+The daemon listens for incoming connections on Unix and/or TCP socket and scans files or directories on demand. It reads the configuration from @CONFDIR@/clamd.d/scan.conf
629b8f1
 .SH "COMMANDS"
1f873aa
 .LP
629b8f1
 It's recommended to prefix clamd commands with the letter \fBz\fR (eg. zSCAN) to indicate that the command will be delimited by a NULL character and that clamd should continue reading command data until a NULL character is read. The null delimiter assures that the complete command and its entire argument will be processed as a single command. Alternatively commands may be prefixed with the letter \fBn\fR (e.g. nSCAN) to use a newline character as the delimiter. Clamd replies will honour the requested terminator in turn.
1f873aa
@@ -133,7 +133,7 @@ Reload the signature databases.
629b8f1
 Perform a clean exit.
629b8f1
 .SH "FILES"
1f873aa
 .LP
1f873aa
-@CONFDIR@/clamd.conf
1f873aa
+@CONFDIR@/clamd.d/scan.conf
629b8f1
 .SH "CREDITS"
629b8f1
 Please check the full documentation for credits.
629b8f1
 .SH "AUTHOR"
1f873aa
diff -up clamav-0.104.3/docs/man/clamd.conf.5.in.default_confs clamav-0.104.3/docs/man/clamd.conf.5.in
1f873aa
--- clamav-0.104.3/docs/man/clamd.conf.5.in.default_confs	2022-05-12 22:04:42.889348976 -0600
1f873aa
+++ clamav-0.104.3/docs/man/clamd.conf.5.in	2022-05-12 22:06:21.800219822 -0600
1f873aa
@@ -765,7 +765,7 @@ Default: no
d526a97
 All options expressing a size are limited to max 4GB. Values in excess will be reset to the maximum.
d526a97
 .SH "FILES"
ba61c84
 .LP
1f873aa
-@CONFDIR@/clamd.conf
1f873aa
+@CONFDIR@/clamd.d/scan.conf
d526a97
 .SH "AUTHORS"
ba61c84
 .LP
d526a97
 Tomasz Kojm <tkojm@clamav.net>, Kevin Lin <klin@sourcefire.com>
1f873aa
diff -up clamav-0.104.3/platform.h.in.default_confs clamav-0.104.3/platform.h.in
1f873aa
--- clamav-0.104.3/platform.h.in.default_confs	2022-05-02 00:24:50.000000000 -0600
1f873aa
+++ clamav-0.104.3/platform.h.in	2022-05-12 22:04:42.891348993 -0600
ba61c84
@@ -112,9 +112,9 @@ typedef unsigned int in_addr_t;
d526a97
 #endif
d526a97
 
ba61c84
 #ifndef _WIN32
d526a97
-#define CONFDIR_CLAMD CONFDIR PATHSEP "clamd.conf"
d526a97
+#define CONFDIR_CLAMD CONFDIR PATHSEP "clamd.d/scan.conf"
d526a97
 #define CONFDIR_FRESHCLAM CONFDIR PATHSEP "freshclam.conf"
d526a97
-#define CONFDIR_MILTER CONFDIR PATHSEP "clamav-milter.conf"
d526a97
+#define CONFDIR_MILTER CONFDIR PATHSEP "mail/clamav-milter.conf"
ba61c84
 #endif
d526a97
 
ba61c84
 #ifndef WORDS_BIGENDIAN