if [[ "$(installed_version $SPELL | cut -c-3 | sed -e 's/\.//g')" -lt "12" ]] && \
    spell_ok $SPELL ; then
    message "Warning the dovecot.conf has some minor changes. Please see"
    message "http://wiki.dovecot.org/Upgrading/1.2 for further information"
    query "Please acknowledge that you've read the warning from above" n || return 1
fi &&

config_query DOVECOT_EXT_LDA 'Use extended LDA with Sieve support?' y  &&

if [[ $DOVECOT_EXT_LDA == y ]]; then
    config_query DOVECOT_MANAGESIEVE 'Do you want the manage sieve server patch?' n
fi
