Setting up email accounts

March 28, 2013 8.6k views
Hi! This is my first time with a VPS. It was great. I could install apache, php, mysql, svn (as a client and server), a few domains pointing to different directories, but I am stuck with my email configuration. I tried a lot of options: dkim, sendmail, postfix, but I am not understanding and/or it is not working. I don't want anything too complicated. I would be happy if I can make a forward to gmails accounts, something like: *@domain1, *@domain2 -> myaccount@gmail.com admin@domain1 -> admin@gmail john@domain2 -> admin@gmail and stuff like that :) Thank you! PS: I used this tutorial https://www.digitalocean.com/community/articles/how-to-install-and-setup-postfix-on-ubuntu-12-04
4 Answers
You would just need to edit the /etc/postfix/virtual config file if everything else was setup correctly and here is a link to another article that can help you out:
http://www.cyberciti.biz/faq/linux-unix-bsd-postfix-forward-email-to-another-account/
I tried that but it seems not to be working :(
Same here, I'm stuck in this very step and was looking for a more detailed explanation of how to achieve quite exactly what the OP was asking...
@florian: Take a look at the article raiyu linked - does it help?
Have another answer? Share your knowledge.