diff --git a/jitsi-auth-dovecot.sh b/jitsi-auth-dovecot.sh index 62e1690..2c85bf3 100755 --- a/jitsi-auth-dovecot.sh +++ b/jitsi-auth-dovecot.sh @@ -599,6 +599,8 @@ else if $_found && echo "$_line" | grep -i -q -E "^\s*authentication\s+=\s+" 2> /dev/null ; then cat <> ${LOCK_DIR}/${FQHN_HOSTNAME}.cfg.lua + enabled = true + allow_registration = false authentication = "dovecot" dovecot_auth_host = "${DOVECOT_HOSTNAME}" dovecot_auth_port = "${DOVECOT_AUTH_PORT}"