You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-08 23:06:49 +02:00
Use hostname to get domainname (#381)
This commit is contained in:
@ -104,7 +104,7 @@ if [ "$ENABLE_LDAP" = 1 ]; then
|
||||
/etc/dovecot/dovecot-ldap.conf.ext
|
||||
|
||||
# Add domainname to vhost.
|
||||
echo $(domainname) >> /tmp/vhost.tmp
|
||||
echo $(hostname -d) >> /tmp/vhost.tmp
|
||||
|
||||
echo "Enabling dovecot LDAP authentification"
|
||||
sed -i -e '/\!include auth-ldap\.conf\.ext/s/^#//' /etc/dovecot/conf.d/10-auth.conf
|
||||
|
Reference in New Issue
Block a user