Update settings to not use proxy
This commit is contained in:
parent
782a07a450
commit
1ce9ef9640
3 changed files with 9 additions and 4 deletions
|
|
@ -71,8 +71,8 @@ virtual_transport = dovecot
|
|||
|
||||
{% if postfix.ldap.enable %}
|
||||
# LDAP config
|
||||
smtpd_sender_login_maps = proxy:ldap:/etc/postfix/virtual-senders.cf
|
||||
virtual_mailbox_maps = proxy:ldap:/etc/postfix/virtual-recipients.cf
|
||||
smtpd_sender_login_maps = ldap:/etc/postfix/virtual-senders.cf
|
||||
virtual_mailbox_maps = ldap:/etc/postfix/virtual-recipients.cf
|
||||
local_recipient_maps = $virtual_mailbox_maps
|
||||
{% endif %}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ bind = yes
|
|||
server_host = {{ postfix.ldap.server_host }}
|
||||
search_base = {{ postfix.ldap.senders.search_base }}
|
||||
query_filter = {{ postfix.ldap.senders.query_filter }}
|
||||
result_attribute = cn
|
||||
result_attribute = uid
|
||||
{% else %}
|
||||
# LDAP is not configured for this server.
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue