diff --git a/core/admin/mailu/internal/views.py b/core/admin/mailu/internal/views.py index b5b1da77..2a71e786 100644 --- a/core/admin/mailu/internal/views.py +++ b/core/admin/mailu/internal/views.py @@ -71,6 +71,26 @@ def postfix_alias_map(alias): flask.abort(404) +@internal.route("/postfix/alias/domain/") +def postfix_alias_domain(domain): + pass + + +@internal.route("/postfix/alias/map/") +def postfix_alias_map(alias): + pass + + +@internal.route("/postfix/mailbox/domain/") +def postfix_mailbox_domain(domain): + pass + + +@internal.route("/postfix/mailbox/map/") +def postfix_mailbox_map(domain): + pass + + @internal.route("/dovecot/auth/passdb/") def dovecot_passdb_dict(user_email): user = models.User.query.get(user_email) or flask.abort(403) diff --git a/core/postfix/conf/main.cf b/core/postfix/conf/main.cf index 19c2d0c2..eee01f69 100644 --- a/core/postfix/conf/main.cf +++ b/core/postfix/conf/main.cf @@ -56,9 +56,9 @@ smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # The alias map actually returns both aliases and local mailboxes, which is # required for reject_unlisted_sender to work properly -virtual_alias_maps = ${podop}alias -virtual_mailbox_domains = ${podop}domains -virtual_mailbox_maps = ${podop}mailbox +virtual_alias_maps = ${podop}alias/domain +virtual_mailbox_domains = ${podop}mailbox/domain +virtual_mailbox_maps = ${podop}mailbox/map # Mails are transported if required, then forwarded to Dovecot for delivery relay_domains = ${podop}transport