How To mail server install Postfix dovecot ubuntu14.04 This tutorial explains how to setup mail server on ubuntu 14.04 using postfix,dovecot and squirrelmail. » Postfix ( for sending ) » Dovecot ( for receiving ) » Squirrelmail ( for webmail access ). Here i have used mail.krizna.com for hostname and krizna.com for Domain . please replace with your domain . Setup mail server on ubuntu 14.04 » Installing and configuring postfix » Installing and configuring dovecot » Installing and configuring squirrelmail » Installing and configuring postfix Step 1 » Assign static IP and hostname and add a host entry for the host name . Assign hostname in /etc/hostname mail.krizna.com Add a hostentry in /etc/hosts 192.168.1.10 mail.krizna.com Step 2 » Update the repositories. krizna@mail:~$ sudo apt-get update Step 3 » Install postfix and dependencies . Press enter for all prompted questions during installation. we will do that in the next step. krizna