mirror of
https://github.com/Mailu/Mailu.git
synced 2025-06-04 23:27:34 +02:00
Provide a more generic skeletton for postfix virtual lookups
This commit is contained in:
parent
0085b6f1e6
commit
73ca5fb3d3
@ -71,6 +71,26 @@ def postfix_alias_map(alias):
|
||||
flask.abort(404)
|
||||
|
||||
|
||||
@internal.route("/postfix/alias/domain/<domain>")
|
||||
def postfix_alias_domain(domain):
|
||||
pass
|
||||
|
||||
|
||||
@internal.route("/postfix/alias/map/<alias>")
|
||||
def postfix_alias_map(alias):
|
||||
pass
|
||||
|
||||
|
||||
@internal.route("/postfix/mailbox/domain/<domain>")
|
||||
def postfix_mailbox_domain(domain):
|
||||
pass
|
||||
|
||||
|
||||
@internal.route("/postfix/mailbox/map/<mailbox>")
|
||||
def postfix_mailbox_map(domain):
|
||||
pass
|
||||
|
||||
|
||||
@internal.route("/dovecot/auth/passdb/<user_email>")
|
||||
def dovecot_passdb_dict(user_email):
|
||||
user = models.User.query.get(user_email) or flask.abort(403)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user