forked from Deuxfleurs/infrastructure
Use cn
instead of mail
to store emails
This commit is contained in:
parent
e74bda617c
commit
a2a25e2ea4
2 changed files with 2 additions and 2 deletions
|
@ -5,4 +5,4 @@ base = dc=deuxfleurs,dc=fr
|
|||
scope = subtree
|
||||
user_filter = (&(mail=%u)(&(objectClass=inetOrgPerson)(memberOf=cn=email,ou=groups,dc=deuxfleurs,dc=fr)))
|
||||
pass_filter = (&(mail=%u)(&(objectClass=inetOrgPerson)(memberOf=cn=email,ou=groups,dc=deuxfleurs,dc=fr)))
|
||||
user_attrs = mail=/var/mail/%{ldap:mail}
|
||||
user_attrs = mail=/var/mail/%{ldap:cn}
|
||||
|
|
|
@ -37,7 +37,7 @@ job "email" {
|
|||
volumes = [
|
||||
"secrets/ssl/certs:/etc/ssl/certs",
|
||||
"secrets/ssl/private:/etc/ssl/private",
|
||||
"secrets/conf/dovecot-ldap.conf:/etc/dovecot/dovecot-ldap.conf",
|
||||
"secrets/conf/dovecot-ldap.conf:/etc/dovecot/dovecot-ldap.conf",
|
||||
"/mnt/glusterfs/email/mail:/var/mail/",
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue