I have a vps with Debian 7.2. I will host 3 websites in the server. I feel lost and i want some help creating the email accounts for each domain.
Here is my setup so far concerning the email:
# EMAIL - Postfix, Dovecot
sudo apt-get install postfix postfix-mysql postfix-doc openssl getmail4 dovecot-imapd dovecot-pop3d dovecot-mysql dovecot-sieve -y
# Next open the TLS/SSL and submission ports in Postfix
sudo sed -i '/submission inet n/ s/^#//' /etc/postfix/master.cf
sudo sed -i '/-o syslog_name=postfix/ s/^#//' /etc/postfix/master.cf
sudo sed -i '/-o smtpd_tls_security_level=encrypt/ s/^#//' /etc/postfix/master.cf
sudo sed -i '/-o smtpd_sasl_auth_enable=yes/ s/^#//' /etc/postfix/master.cf
sudo sed -i '/-o smtpd_client_restrictions=permit_sasl_authenticated/ s/^#//' /etc/postfix/master.cf
sudo sed -i '/smtps inet n/ s/^#//' /etc/postfix/master.cf
sudo sed -i '/-o smtpd_tls_wrappermode=yes/ s/^#//' /etc/postfix/master.cf
sudo service postfix restart
# Make MySQL to listen on all interfaces
sudo sed -i '/bind-address/ s/^#//' /etc/mysql/my.cnf
sudo service mysql restart
# Install SquirrelMail
sudo apt-get install squirrelmail
squirrelmail-configure
So lets say i want to create two email accounts:
What are the steps i should follow?