From 65576fefcbe11633210e4ed484560e3bb8377674 Mon Sep 17 00:00:00 2001 From: Till Brehm Date: Sun, 16 Feb 2014 12:03:29 +0100 Subject: [PATCH] Fixed: FS#3116 - Debian 64 Wheezy Dovcot - add postmmaster_address line to template --- install/lib/installer_base.lib.php | 1 + install/tpl/debian_dovecot2.conf.master | 1 + 2 files changed, 2 insertions(+) diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index 413ef20ea7..60ad43bc62 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -971,6 +971,7 @@ class installer_base { } else { copy('tpl/debian_dovecot2.conf.master', $config_dir.'/'.$configfile); } + replaceLine($config_dir.'/'.$configfile, 'postmaster_address = postmaster@example.com', 'postmaster_address = postmaster@'.$conf['hostname'], 1, 0); } else { if(is_file($conf['ispconfig_install_dir'].'/server/conf-custom/install/debian_dovecot.conf.master')) { copy($conf['ispconfig_install_dir'].'/server/conf-custom/install/debian_dovecot.conf.master', $config_dir.'/'.$configfile); diff --git a/install/tpl/debian_dovecot2.conf.master b/install/tpl/debian_dovecot2.conf.master index f359260dab..2ffe8f224c 100644 --- a/install/tpl/debian_dovecot2.conf.master +++ b/install/tpl/debian_dovecot2.conf.master @@ -4,6 +4,7 @@ auth_mechanisms = plain login disable_plaintext_auth = no log_timestamp = "%Y-%m-%d %H:%M:%S " mail_privileged_group = vmail +postmaster_address = postmaster@example.com ssl_cert =