Setting up email accounts

Posted March 28, 2013 10.5k 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 -> admin@domain1 -> admin@gmail john@domain2 -> admin@gmail and stuff like that :) Thank you! PS: I used this tutorial

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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:
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?