If you want to set-up an mail server in Debian Linux using Postfix and SquirrelMail you need to follow the next guide:

Step1.  Install Postfix:

apt-get install postfix

This command will remove sendmail. Sendmail is installed by default on Debian.

Step2. Configure Postfix:

Open the file /etc/postfix/main.cf with your favorite editor and uncomment or add the followins:

inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
home_mailbox = Maildir/

Step3. Restart and test if Postfix is working:

/etc/init.d/postfix restart

Continue Reading…