I have the same problem. I tried to rebuild dovecot but problem persists. Every time I execute
echo "action=rewrite&value=mail_sni" >> /usr/local/directadmin/data/task.queue && /usr/local/directadmin/dataskq d800
quotes disappear and I have to add them manually or dovecot won't start...