After the ftp problem now I have a problem with configuring the email The first time we got that config error. I ran the commands from this post: https://www.howtoforge.com/communit...rfect-server-debian-8-6-nginx-problems.77009/ It started to work. I opened ports 143, 25 and others. Now the problem is that I can not send or receive emails. Questions: 1 How can I make it work? 2 how can I get rid of the form http://mysite.com:8081/squirrelmail/ and can access it as mail.mysite.com I'm not a Linux expert so if someone can help me step by step.