Skip to content
Snippets Groups Projects
Commit c7f34091 authored by ale's avatar ale
Browse files

Resolve aliases in postfix-delivery

Just before the delivery to the destination mailbox.
parent a6f81d0c
No related branches found
No related tags found
No related merge requests found
......@@ -38,3 +38,7 @@ virtual_mailbox_domains = ${indexed}domains cdb:/etc/postfix/domains-auto
# The return value from the lookup is ignored, because we've set
# virtual_transport and virtual_mailbox_domains.
virtual_mailbox_maps = ${ldap}local-recipients
# Resolve aliases to their destination mailboxes.
virtual_alias_maps = ${ldap}aliases
......@@ -39,16 +39,12 @@ smtpd_timeout = 1200s
# "smtp" transport for outbound mail (bounces, ...). The latter
# won't starve the former of delivery agent slots.
relay_domains = ${indexed}domains cdb:/etc/postfix/domains-auto
relay_recipient_maps = ${ldap}recipients ${indexed}transport ${indexed}mailman_transport
relay_recipient_maps = ${ldap}recipients ${ldap}aliases ${indexed}virtual ${indexed}transport ${indexed}mailman_transport
relay_destination_recipient_limit = 1
# Send each message to its target backend.
transport_maps = ${ldap}recipients ${indexed}transport ${indexed}mailman_transport
# Resolve aliases etc, we want all outbound email to the
# postfix-delivery instances to have the final recipients.
virtual_alias_maps = ${ldap}aliases ${indexed}virtual
# Message size limit.
message_size_limit = 15000000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment