Dovecot installation problems

I use dovecot to serve mbsync-downloaded email (offlineimap alternative) and used to read it with gnus.

You can find my configs here:

(Gnus uses “shell” stream, so it does not open TCP connection, though.)