CONFIGURE_FILE(config.h.in src/config.h)
CONFIGURE_FILE(contrib/exim/local_scan.c.in contrib/exim/local_scan_rspamd.c @ONLY)
+SET(CONFFILES
+ conf/composites.conf
+ conf/logging.conf
+ conf/metrics.conf
+ conf/modules.conf
+ conf/options.conf
+ conf/rspamd.conf
+ conf/statistic.conf
+ conf/workers.conf)
+
######################### LINK SECTION ###############################
ADD_EXECUTABLE(rspamd ${RSPAMDSRC} ${CONTRIBSRC} ${PLUGINSSRC})
INSTALL(FILES conf/surbl-whitelist.inc RENAME surbl-whitelist.inc DESTINATION ${CONFDIR})
+INSTALL(FILES ${CONFFILES} DESTINATION ${CONFDIR})
+
# Lua plugins
FILE(GLOB LUA_PLUGINS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/src/plugins/lua"