Okay I am on to something. I had to change my hostname after the installation. I think I might have missed a few places. I sent an email from the server and was able to retrieve it but its from email@example.com
instead of firstname.lastname@example.org
. Where is this stored on the mailserver and where can I change it? I checked /etc/courier/imapd.cnf and /etc/courier/pop3d.cnf.