pigeonhole plugin with ldap support
This commit is contained in:
parent
c982b90c7b
commit
ea17d13960
4 changed files with 25 additions and 2 deletions
|
@ -3,6 +3,6 @@ protocol sieve {
|
|||
}
|
||||
|
||||
plugin {
|
||||
sieve = file:~/sieve;active=~/.dovecot.sieve
|
||||
sieve = ldap:/etc/dovecot/sieve-ldap.conf;bindir=~/.sieve-bin/
|
||||
sieve_after = /var/lib/vmail/sieve-after/
|
||||
}
|
||||
|
|
12
rootfs/etc/confd/templates/sieve-ldap.conf.tmpl
Normal file
12
rootfs/etc/confd/templates/sieve-ldap.conf.tmpl
Normal file
|
@ -0,0 +1,12 @@
|
|||
hosts = {{getenv "LDAPSIEVEHOST"}}
|
||||
dn = {{getenv "LDAPBINDDN"}}
|
||||
dnpass = {{getenv "LDAPBINDPASSWORD"}}
|
||||
sasl_bind = no
|
||||
tls = {{getenv "LDAPUSETLS"}}
|
||||
ldap_version = 3
|
||||
base = {{getenv "LDAPBASEDN"}}
|
||||
deref = never
|
||||
scope = subtree
|
||||
sieve_ldap_filter = {{getenv "LDAPUSERFILTER"}}
|
||||
sieve_ldap_script_attr = {{getenv "LDAPSIEVEATTRIBUTE"}}
|
||||
sieve_ldap_mod_attr = modifyTimestamp
|
Loading…
Add table
Add a link
Reference in a new issue