Skip to content

Commit

Permalink
Disable all required lines when dovecot is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
tonioo committed Dec 15, 2023
1 parent 8942836 commit b7f378f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modoboa_installer/scripts/files/postfix/main.cf.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ smtp_tls_exclude_ciphers = EXPORT, LOW
#
%{dovecot_enabled}virtual_transport = lmtp:unix:private/dovecot-lmtp

virtual_mailbox_domains = proxy:%{db_driver}:/etc/postfix/sql-domains.cf
virtual_alias_domains = proxy:%{db_driver}:/etc/postfix/sql-domain-aliases.cf
virtual_alias_maps =
proxy:%{db_driver}:/etc/postfix/sql-aliases.cf
%{dovecot_enabled}virtual_mailbox_domains = proxy:%{db_driver}:/etc/postfix/sql-domains.cf
%{dovecot_enabled}virtual_alias_domains = proxy:%{db_driver}:/etc/postfix/sql-domain-aliases.cf
%{dovecot_enabled}virtual_alias_maps =
%{dovecot_enabled} proxy:%{db_driver}:/etc/postfix/sql-aliases.cf

## Relay domains
#
Expand Down

0 comments on commit b7f378f

Please sign in to comment.