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

November 11, 2014 1k views

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

1)my domain name is test.info
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/main.cf
myhostname = example.com
virtualaliasmaps = hash:/etc/postfix/virtual
mynetworks = [::ffff:]/104 [::1]/128
sudo /etc/init.d/postfix reload
sudo nano /etc/postfix/virtual

test@test.info myself #it confused me here,what i write in /etc/postfix/virtual ,
what is test@test.info 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 test1@test.info and setup the password as 'digitalocean'?

Be the first one to answer this question.