Error: Namespace ”: Mail storage autodetection failed with home=/home/dovecot Added to /etc/dovecot/conf.d/10-mail.confmail_location = maildir:~/Maildirand it started working.