From ec571625a4dee99acff1a2cef75a48aa57df82cb Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 22 Aug 2013 07:56:36 -0400 Subject: [PATCH] Updated dkim support. Thanks to Florian for the patch. --- install/lib/installer_base.lib.php | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index 1e8459e..e43d0bb 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -665,6 +665,15 @@ //* mysql-virtual_relayrecipientmaps.cf $this->process_postfix_config('mysql-virtual_relayrecipientmaps.cf'); + //* postfix-dkim + $full_file_name=$config_dir.'/tag_as_originating.re'; + if(is_file($full_file_name)) copy($full_file_name, $config_dir.$configfile.'~'); + wf($full_file_name,'/^/ FILTER amavis:[127.0.0.1]:10026'); + + $full_file_name=$config_dir.'/tag_as_foreign.re'; + if(is_file($full_file_name)) copy($full_file_name, $config_dir.$configfile.'~'); + wf($full_file_name,'/^/ FILTER amavis:[127.0.0.1]:10024'); + //* Changing mode and group of the new created config files. caselog('chmod o= '.$config_dir.'/mysql-virtual_*.cf* &> /dev/null', __FILE__, __LINE__, 'chmod on mysql-virtual_*.cf*', 'chmod on mysql-virtual_*.cf* failed'); -- Gitblit v1.9.1