Move ldap files to target dir
This commit is contained in:
parent
f2f059bb91
commit
55bd9027e0
|
@ -62,6 +62,10 @@ RUN sed -i -e 's/^.*postmaster_address.*/postmaster_address = '${POSTMASTER_ADDR
|
|||
COPY target/dovecot/auth-passwdfile.inc /etc/dovecot/conf.d/
|
||||
COPY target/dovecot/??-*.conf /etc/dovecot/conf.d/
|
||||
|
||||
# Configures LDAP
|
||||
COPY target/dovecot/dovecot-ldap.conf.ext /etc/dovecot
|
||||
COPY target/postfix/ldap-users.cf target/postfix/ldap-groups.cf target/postfix/ldap-aliases.cf /etc/postfix/
|
||||
|
||||
# Enables Spamassassin CRON updates
|
||||
RUN sed -i -r 's/^(CRON)=0/\1=1/g' /etc/default/spamassassin
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
bind = yes
|
||||
bind_dn = cn=admin,dc=domain,dc=com
|
||||
bind_pw = admin
|
||||
query_filter = (&(mailAlias=%s)(mailEnabled=TRUE))
|
||||
result_attribute = mail
|
||||
search_base = ou=people,dc=domain,dc=com
|
||||
server_host = mail.domain.com
|
||||
version = 3
|
|
@ -1,10 +0,0 @@
|
|||
base = ou=people,dc=my-domain,dc=com
|
||||
default_pass_scheme = SSHA
|
||||
dn = cn=admin,dc=my-domain,dc=com
|
||||
dnpass = admin
|
||||
hosts = mail.my-domain.com
|
||||
ldap_version = 3
|
||||
pass_attrs = uniqueIdentifier=user,userPassword=password
|
||||
pass_filter = (&(objectClass=PostfixBookMailAccount)(uniqueIdentifier=%n))
|
||||
user_attrs = mailHomeDirectory=home,mailUidNumber=uid,mailGidNumber=gid,mailStorageDirectory=mail
|
||||
user_filter = (&(objectClass=PostfixBookMailAccount)(uniqueIdentifier=%n))
|
|
@ -1,8 +0,0 @@
|
|||
bind = yes
|
||||
bind_dn = cn=admin,dc=my-domain,dc=com
|
||||
bind_pw = admin
|
||||
query_filter = (&(mailAlias=%s)(mailEnabled=TRUE))
|
||||
result_attribute = mail
|
||||
search_base = ou=people,dc=my-domain,dc=com
|
||||
server_host = mail.my-domain.com
|
||||
version = 3
|
|
@ -1,8 +0,0 @@
|
|||
bind = yes
|
||||
bind_dn = cn=admin,dc=my-domain,dc=com
|
||||
bind_pw = admin
|
||||
query_filter = (&(mailGroupMember=%s)(mailEnabled=TRUE))
|
||||
result_attribute = mail
|
||||
search_base = ou=people,dc=my-domain,dc=com
|
||||
server_host = mail.my-domain.com
|
||||
version = 3
|
|
@ -1,8 +0,0 @@
|
|||
bind = yes
|
||||
bind_dn = cn=admin,dc=my-domain,dc=com
|
||||
bind_pw = admin
|
||||
query_filter = (&(mail=%s)(mailEnabled=TRUE))
|
||||
result_attribute = mail
|
||||
search_base = ou=people,dc=my-domain,dc=com
|
||||
server_host = mail.my-domain.com
|
||||
version = 3
|
Loading…
Reference in New Issue