Install and configure Dovecot (PoP Server)
Install and configure Postfix (SMTP Server)
How to change Hostname / Domain name