Report this

What is the reason for this report?

Setting up email accounts

Posted on 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 -> 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



This textbox defaults to using Markdown to format your 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.

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>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…

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.