diff --git a/dokuwiki/templates/local.protected.php.j2 b/dokuwiki/templates/local.protected.php.j2 index 8f7b0bfba9a3c3b093bcd7429da9465c018861f7..c86bce04dc96818b19692ac266b1fa77a8ecce6b 100644 --- a/dokuwiki/templates/local.protected.php.j2 +++ b/dokuwiki/templates/local.protected.php.j2 @@ -26,3 +26,7 @@ $conf['xsendfile'] = 0; $conf['updatecheck'] = 0; $conf['useacl'] = 1; $conf['phpok'] = 0; +{% if item.mail_host is defined %} +$conf['plugin']['smtp']['smtp_host'] = '{{item.mail_host}}'; +$conf['plugin']['smtp']['smtp_ssl'] = 'tls'; +{% endif %}