Skip to content

Commit 65576fe

Browse files
author
Till Brehm
committed
Fixed: FS#3116 - Debian 64 Wheezy Dovcot - add postmmaster_address line to template
1 parent 57aa5e2 commit 65576fe

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,7 @@ public function configure_dovecot() {
971971
} else {
972972
copy('tpl/debian_dovecot2.conf.master', $config_dir.'/'.$configfile);
973973
}
974+
replaceLine($config_dir.'/'.$configfile, 'postmaster_address = postmaster@example.com', 'postmaster_address = postmaster@'.$conf['hostname'], 1, 0);
974975
} else {
975976
if(is_file($conf['ispconfig_install_dir'].'/server/conf-custom/install/debian_dovecot.conf.master')) {
976977
copy($conf['ispconfig_install_dir'].'/server/conf-custom/install/debian_dovecot.conf.master', $config_dir.'/'.$configfile);

install/tpl/debian_dovecot2.conf.master

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ auth_mechanisms = plain login
44
disable_plaintext_auth = no
55
log_timestamp = "%Y-%m-%d %H:%M:%S "
66
mail_privileged_group = vmail
7+
postmaster_address = postmaster@example.com
78
ssl_cert = </etc/postfix/smtpd.cert
89
ssl_key = </etc/postfix/smtpd.key
910
passdb {

0 commit comments

Comments
 (0)