| | |
| | | global $conf; |
| | | |
| | | $virtual_transport = 'dovecot'; |
| | | |
| | | $configure_lmtp = false; |
| | | |
| | | // check if virtual_transport must be changed |
| | | if ($this->is_update) { |
| | |
| | | |
| | | if(isset($ini_array['mail']['mailbox_virtual_uidgid_maps']) && $ini_array['mail']['mailbox_virtual_uidgid_maps'] == 'y') { |
| | | $virtual_transport = 'lmtp:unix:private/dovecot-lmtp'; |
| | | $configure_lmtp = true; |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | //* dovecot-lmtpd |
| | | if($configure_lmtp) { |
| | | replaceLine($config_dir.'/'.$configfile, 'protocols = imap pop3', 'protocols = imap pop3 lmtp', 1, 0); |
| | | } |
| | | |
| | | //* dovecot-sql.conf |
| | | $configfile = 'dovecot-sql.conf'; |
| | | if(is_file($config_dir.'/'.$configfile)) { |