This question has been archived.

How to setup email account and it's password in postfix?

November 11, 2014 1.3k views

I have buy a web name ,i want to build mail server on my digitalocean server ip.

1)my domain name is
2)my digitalocean server ip is x.y.z.w

I do as the following web :

sudo apt-get install postfix
sudo nano /etc/postfix/
myhostname =
virtualaliasmaps = hash:/etc/postfix/virtual
mynetworks = [::ffff:]/104 [::1]/128
sudo /etc/init.d/postfix reload
sudo nano /etc/postfix/virtual myself #it confused me here,what i write in /etc/postfix/virtual ,
what is and what is myself ?

postmap /etc/postfix/virtual

sudo /etc/init.d/postfix reload

Maybe the tutorial is lack of something,it don't tell me how to setup an account name and it's password.

how can setup an account and setup the password as 'digitalocean'?

Be the first one to answer this question.