Commit 65576fef authored by Till Brehm's avatar Till Brehm
Browse files

Fixed: FS#3116 - Debian 64 Wheezy Dovcot - add postmmaster_address line to template

parent 57aa5e2f
...@@ -971,6 +971,7 @@ class installer_base { ...@@ -971,6 +971,7 @@ class installer_base {
} else { } else {
copy('tpl/debian_dovecot2.conf.master', $config_dir.'/'.$configfile); 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 { } else {
if(is_file($conf['ispconfig_install_dir'].'/server/conf-custom/install/debian_dovecot.conf.master')) { 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); copy($conf['ispconfig_install_dir'].'/server/conf-custom/install/debian_dovecot.conf.master', $config_dir.'/'.$configfile);
......
...@@ -4,6 +4,7 @@ auth_mechanisms = plain login ...@@ -4,6 +4,7 @@ auth_mechanisms = plain login
disable_plaintext_auth = no disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S " log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_privileged_group = vmail mail_privileged_group = vmail
postmaster_address = postmaster@example.com
ssl_cert = </etc/postfix/smtpd.cert ssl_cert = </etc/postfix/smtpd.cert
ssl_key = </etc/postfix/smtpd.key ssl_key = </etc/postfix/smtpd.key
passdb { passdb {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment