fix #122 ; for older versions of dovecot
This commit is contained in:
parent
4c468aac9c
commit
d3ce7d9fa6
@ -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\"];
|
||||||
|
Loading…
Reference in New Issue
Block a user