RKolodziejczxyk
2015-07-30 5a428535a45dcc6e1c71d3b4a221fad60d29658f
server/plugins-available/postfix_server_plugin.inc.php
@@ -166,6 +166,8 @@
         if($app->system->is_installed('dovecot')) {
            exec("postconf -e 'virtual_transport = lmtp:unix:private/dovecot-lmtp'");
            exec('postfix reload');
            $app->system->replaceLine("/etc/dovecot/dovecot.conf", "protocols = imap pop3", "protocols = imap pop3 lmtp");
            exec($conf['init_scripts'] . '/' . 'dovecot restart');
         }
      }
      else {
@@ -173,6 +175,8 @@
         if($app->system->is_installed('dovecot')) {
            exec("postconf -e 'virtual_transport = dovecot'");
            exec('postfix reload');
            $app->system->replaceLine("/etc/dovecot/dovecot.conf", "protocols = imap pop3 lmtp", "protocols = imap pop3");
            exec($conf['init_scripts'] . '/' . 'dovecot restart');
         }
      }