This commit is contained in:
=
2024-12-19 22:32:42 -05:00
parent 12e996003e
commit 9803b2f155
27 changed files with 268 additions and 55 deletions

11
dovecot/start.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
# Template out LDAP config
eval "echo \"$(cat /templates/dovecot-ldap.conf.ext.tmpl)\"" > /config/dovecot-ldap.conf.ext
# Symlink the config
ln -s /config/dovecot-ldap.conf.ext /config/dovecot-ldap-users.conf.ext
ln -s /config/dovecot-ldap.conf.ext /config/dovecot-ldap-pass.conf.ext
# Start Dovecot
/usr/sbin/dovecot -c /config/dovecot.conf -F