Oke, this is not a bug. There was a wrong hostname in the /etc/resolv.conf file which created this error "hostname: Name or service not known"
I did: apt-get remove dovecot-common dovecot-imapd dovecot-pop3d --purge changed the hostname in the /etc/resolv.conf You can test if this works with hostname -i Then I installed dovecot again. ** Changed in: dovecot (Ubuntu) Status: New => Fix Released -- Dovecot installation from Aptitude fails https://bugs.launchpad.net/bugs/641153 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dovecot in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs