mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Use hostname to get domainname (#381)
This commit is contained in:
commit
fbb76a4da7
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue