Setting up email accounts

  • Posted March 28, 2013

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


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

@florian: Take a look at the article raiyu linked - does it help?

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…

I tried that but it seems not to be working :(

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: <br>