tbrehm
2010-06-02 67630eb32557c22bc9ec48a0fff076371b823e07
Fixed: FS#1112 - Some postfix parameters not correctly updated
1 files modified
6 ■■■■ changed files
server/plugins-available/postfix_server_plugin.inc.php 6 ●●●● patch | view | raw | blame | history
server/plugins-available/postfix_server_plugin.inc.php
@@ -86,7 +86,11 @@
        
        if($mail_config["relayhost"] != '') {
            exec("postconf -e 'relayhost = ".$mail_config["relayhost"]."'");
            exec("postconf -e 'smtp_sasl_auth_enable = yes'");
            if($mail_config["relayhost_user"] != '' && $mail_config["relayhost_password"] != '') {
                exec("postconf -e 'smtp_sasl_auth_enable = yes'");
            } else {
                exec("postconf -e 'smtp_sasl_auth_enable = no'");
            }
            exec("postconf -e 'smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd'");
            exec("postconf -e 'smtp_sasl_security_options ='");