Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
Ansible
Commits
0c8247d4
Commit
0c8247d4
authored
4 years ago
by
Maxime Bombar
Browse files
Options
Downloads
Patches
Plain Diff
[dovecot] Fix ldap queries.
parent
9983c85a
No related branches found
Branches containing commit
No related tags found
1 merge request
!127
Owl
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
group_vars/dovecot.yml
+1
-0
1 addition, 0 deletions
group_vars/dovecot.yml
roles/dovecot/templates/dovecot/conf.d/10-master.conf.j2
+2
-2
2 additions, 2 deletions
roles/dovecot/templates/dovecot/conf.d/10-master.conf.j2
with
3 additions
and
2 deletions
group_vars/dovecot.yml
+
1
−
0
View file @
0c8247d4
glob_dovecot
:
ldap_dn
:
'
cn=dovecot,ou=service-users,dc=crans,dc=org'
inet_listener
:
"
{{
query('ldap',
'ip',
ansible_hostname,
'adm')
|
ipwrap
|
join(',
')
}}"
This diff is collapsed.
Click to expand it.
roles/dovecot/templates/dovecot/conf.d/10-master.conf.j2
+
2
−
2
View file @
0c8247d4
...
...
@@ -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 {
...
...
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