Getting this error after following
 this tutorial 

Error in configuration file /etc/dovecot/dovecot.conf duplicate listener 


https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-2-dovecot