Update settings to not use proxy

This commit is contained in:
Morre 2020-07-03 14:25:56 +02:00
parent 782a07a450
commit 1ce9ef9640
No known key found for this signature in database
GPG key ID: 5D9B9B1B8F424BBC
3 changed files with 9 additions and 4 deletions

View file

@ -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 %}

View file

@ -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 %}