Skip to content
Snippets Groups Projects
Commit 0c8247d4 authored by Maxime Bombar's avatar Maxime Bombar
Browse files

[dovecot] Fix ldap queries.

parent 9983c85a
No related branches found
No related tags found
1 merge request!127Owl
glob_dovecot:
ldap_dn: 'cn=dovecot,ou=service-users,dc=crans,dc=org'
inet_listener: "{{ query('ldap', 'ip', ansible_hostname, 'adm') | ipwrap | join(', ') }}"
......@@ -16,7 +16,7 @@ default_process_limit = 500
service imap-login {
inet_listener imap {
address = 127.0.0.1, {{ query('ldap', 'ip', inventory_hostname, 'adm') | ipwrap }}
address = 127.0.0.1, {{ dovecot.inet_listener }}
port = 143
}
inet_listener imaps {
......@@ -39,7 +39,7 @@ service imap-login {
service pop3-login {
inet_listener pop3 {
address = 127.0.0.1, {{ query('ldap', 'ip', inventory_hostname, 'adm') | ipwrap }}
address = 127.0.0.1, {{ dovecot.inet_listener }}
port = 110
}
inet_listener pop3s {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment