Please note, that any ispconfig-update will overwrite your changes when you select "reconfigure services" and you have no conf-custom file for the dovecot-config in server/conf-custom/install.
You may want to compress existing mails, too: https://wiki2.dovecot.org/Plugins/Zlib