diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php
index 6de768f7e5ca7594d863efc721f013209c290bf4..768ff43363d447c7f3a4302e08c467628724095a 100644
--- a/install/lib/installer_base.lib.php
+++ b/install/lib/installer_base.lib.php
@@ -1881,10 +1881,10 @@ class installer_base {
 
 		# local.d/maps.d templates without template tags
 		$maps_d = array(
-			'dkim_whitelist.inc',
-			'dmarc_whitelist.inc',
-			'spf_dkim_whitelist.inc',
-			'spf_whitelist.inc',
+			'dkim_whitelist.inc.ispc',
+			'dmarc_whitelist.inc.ispc',
+			'spf_dkim_whitelist.inc.ispc',
+			'spf_whitelist.inc.ispc',
 		);
 		foreach ($maps_d as $f) {
 			if(file_exists($conf['ispconfig_install_dir']."/server/conf-custom/install/rspamd_${f}.master")) {
diff --git a/install/tpl/rspamd_dkim_whitelist.inc.master b/install/tpl/rspamd_dkim_whitelist.inc.ispc.master
similarity index 100%
rename from install/tpl/rspamd_dkim_whitelist.inc.master
rename to install/tpl/rspamd_dkim_whitelist.inc.ispc.master
diff --git a/install/tpl/rspamd_dmarc_whitelist.inc.master b/install/tpl/rspamd_dmarc_whitelist.inc.ispc.master
similarity index 100%
rename from install/tpl/rspamd_dmarc_whitelist.inc.master
rename to install/tpl/rspamd_dmarc_whitelist.inc.ispc.master
diff --git a/install/tpl/rspamd_spf_dkim_whitelist.inc.master b/install/tpl/rspamd_spf_dkim_whitelist.inc.ispc.master
similarity index 100%
rename from install/tpl/rspamd_spf_dkim_whitelist.inc.master
rename to install/tpl/rspamd_spf_dkim_whitelist.inc.ispc.master
diff --git a/install/tpl/rspamd_spf_whitelist.inc.master b/install/tpl/rspamd_spf_whitelist.inc.ispc.master
similarity index 100%
rename from install/tpl/rspamd_spf_whitelist.inc.master
rename to install/tpl/rspamd_spf_whitelist.inc.ispc.master