Hi, I have a unmanaged VPS Centos, SSH. I add mydomain.com into VPS by pointing A record to my IP, and configuring VirtualHost on Apache. Now I want all mails sent to redirect to (I wanna use gmail as my mailbox). How can I do that?
First of all, do you have a mail server installed & correctly? something like sendmail? if not then you have to install it before you can add any e-mail account. If you want a short-cut solution, Take My advice: Sign up for Google Apps its the same thing as your gmail but you can use your domain for mail id instead of . for config you just need to change MX Entry for your domain from your registrar's domain control panel. The standard edition is free to use! you will be using your mail in just 5minutes!