fix #122 ; for older versions of dovecot

This commit is contained in:
Luke Smith 2021-01-22 16:34:54 -05:00
parent 4c468aac9c
commit d3ce7d9fa6
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -206,6 +206,11 @@ plugin {
} }
" > /etc/dovecot/dovecot.conf " > /etc/dovecot/dovecot.conf
# If using an old version of Dovecot, remove the ssl_dl line.
case "$(dovecot --version)" in
1|2.1*|2.2*) sed -i "/^ssl_dh/d" /etc/dovecot/dovecot.conf ;;
esac
mkdir /var/lib/dovecot/sieve/ mkdir /var/lib/dovecot/sieve/
echo "require [\"fileinto\", \"mailbox\"]; echo "require [\"fileinto\", \"mailbox\"];