configure passwords for dovecot using the dovecotpw utility e.g. to do an MD5 password dovecotpw -s MD5 Enter new password: Retype new password: {MD5}$1$sBuR/0tx$HM5lyP3dr5zhBMzJ4D1Tv. Put the return value into the password file e.g. example of /etc/dovecot/passwd rtrr:{MD5}$1$sBuR/0tx$HM5lyP3dr5zhBMzJ4D1Tv.:1001:1001::/home/vmail/myvirtualdomain.id.au/:/bin/false: Where the fields are Username:Hashed/crypted Password:UID of virtual mail user (who is running the dovecot process):GID of virtual mail group::/path/to/domain/root/:/user/shell