This commit is contained in:
11
dovecot/start.sh
Executable file
11
dovecot/start.sh
Executable 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
|
Reference in New Issue
Block a user