Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
config
Commits
c7f34091
Commit
c7f34091
authored
6 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/mail/templates/postfix-delivery/main.cf
+4
-0
4 additions, 0 deletions
roles/mail/templates/postfix-delivery/main.cf
roles/mail/templates/postfix-out/main.cf
+1
-5
1 addition, 5 deletions
roles/mail/templates/postfix-out/main.cf
with
5 additions
and
5 deletions
roles/mail/templates/postfix-delivery/main.cf
+
4
−
0
View file @
c7f34091
...
...
@@ -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
This diff is collapsed.
Click to expand it.
roles/mail/templates/postfix-out/main.cf
+
1
−
5
View file @
c7f34091
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment