Fixes: #2484 config directory incorrect for the mail plugin
Fixes: #2478 Adaptation for Dovecot plugin