629b8f1
--- ./clamconf/clamconf.c.orig	2018-07-30 05:28:40.199759145 +0100
629b8f1
+++ ./clamconf/clamconf.c	2018-07-30 05:30:12.083760295 +0100
629b8f1
@@ -58,9 +58,9 @@ static struct _cfgfile {
629b8f1
     const char *name;
629b8f1
     int tool;
629b8f1
 } cfgfile[] = {
629b8f1
-    { "clamd.conf",	    OPT_CLAMD	    },
629b8f1
+    { "clamd.d/scan.conf",	    OPT_CLAMD	    },
629b8f1
     { "freshclam.conf",	    OPT_FRESHCLAM   },
629b8f1
-    { "clamav-milter.conf", OPT_MILTER	    },
629b8f1
+    { "mail/clamav-milter.conf", OPT_MILTER	    },
629b8f1
     { NULL,		    0		    }
629b8f1
 };
629b8f1
 
629b8f1
--- ./platform.h.in.orig	2018-07-30 06:27:54.437257754 +0100
629b8f1
+++ ./platform.h.in	2018-07-30 06:29:18.920124404 +0100
629b8f1
@@ -34,9 +34,9 @@ typedef	unsigned	int	in_addr_t;
629b8f1
 #define PATHSEP "/"
629b8f1
 #endif
629b8f1
 
629b8f1
-#define CONFDIR_CLAMD CONFDIR PATHSEP "clamd.conf"
629b8f1
+#define CONFDIR_CLAMD CONFDIR PATHSEP "clamd.d/scan.conf"
629b8f1
 #define CONFDIR_FRESHCLAM CONFDIR PATHSEP "freshclam.conf"
629b8f1
-#define CONFDIR_MILTER CONFDIR PATHSEP "clamav-milter.conf"
629b8f1
+#define CONFDIR_MILTER CONFDIR PATHSEP "mail/clamav-milter.conf"
629b8f1
 
629b8f1
 #define cli_to_utf8_maybe_alloc(x) (x)
629b8f1
 #define cli_strdup_to_utf8(x) strdup(x)
629b8f1
--- ./docs/man/clamav-milter.conf.5.in.orig	2018-07-31 02:47:52.768212114 +0100
629b8f1
+++ ./docs/man/clamav-milter.conf.5.in	2018-07-31 02:48:57.295032444 +0100
629b8f1
@@ -239,7 +239,7 @@ Default: no
629b8f1
 All options expressing a size are limited to max 4GB. Values in excess will be reset to the maximum.
629b8f1
 .SH "FILES"
629b8f1
 .LP 
629b8f1
-@CFGDIR@/clamav-milter.conf
629b8f1
+@CFGDIR@/mail/clamav-milter.conf
629b8f1
 .SH "AUTHOR"
629b8f1
 .LP 
629b8f1
 aCaB <acab@clamav.net>
629b8f1
--- ./docs/man/clamav-milter.8.in.orig	2018-07-31 02:47:45.154130364 +0100
629b8f1
+++ ./docs/man/clamav-milter.8.in	2018-07-31 02:48:39.484792893 +0100
629b8f1
@@ -27,7 +27,7 @@ Print the version number and exit.
629b8f1
 Read configuration from FILE.
629b8f1
 .SH "FILES"
629b8f1
 .LP 
629b8f1
-@CFGDIR@/clamav-milter.conf
629b8f1
+@CFGDIR@/mail/clamav-milter.conf
629b8f1
 .SH "AUTHOR"
629b8f1
 .LP 
629b8f1
 aCaB <acab@clamav.net>
629b8f1
--- ./docs/man/clamd.conf.5.in.orig	2018-07-31 02:52:12.607659460 +0100
629b8f1
+++ ./docs/man/clamd.conf.5.in	2018-07-31 02:52:37.396992885 +0100
629b8f1
@@ -703,7 +703,7 @@ Default: no
629b8f1
 All options expressing a size are limited to max 4GB. Values in excess will be reset to the maximum.
629b8f1
 .SH "FILES"
629b8f1
 .LP 
629b8f1
-@CFGDIR@/clamd.conf
629b8f1
+@CFGDIR@/clamd.d/scan.conf
629b8f1
 .SH "AUTHORS"
629b8f1
 .LP 
629b8f1
 Tomasz Kojm <tkojm@clamav.net>, Kevin Lin <klin@sourcefire.com>
629b8f1
--- ./docs/man/clamd.8.in.orig	2018-07-31 02:51:22.897990849 +0100
629b8f1
+++ ./docs/man/clamd.8.in	2018-07-31 02:53:22.170595103 +0100
629b8f1
@@ -7,7 +7,7 @@ clamd \- an anti\-virus daemon
629b8f1
 clamd [options]
629b8f1
 .SH "DESCRIPTION"
629b8f1
 .LP 
629b8f1
-The daemon listens for incoming connections on Unix and/or TCP socket and scans files or directories on demand. It reads the configuration from @CFGDIR@/clamd.conf
629b8f1
+The daemon listens for incoming connections on Unix and/or TCP socket and scans files or directories on demand. It reads the configuration from @CFGDIR@/clamd.d/scan.conf
629b8f1
 .SH "COMMANDS"
629b8f1
 .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.
629b8f1
@@ -119,7 +119,7 @@ Reload the signature databases.
629b8f1
 Perform a clean exit.
629b8f1
 .SH "FILES"
629b8f1
 .LP 
629b8f1
-@CFGDIR@/clamd.conf
629b8f1
+@CFGDIR@/clamd.d/scan.conf
629b8f1
 .SH "CREDITS"
629b8f1
 Please check the full documentation for credits.
629b8f1
 .SH "AUTHOR"