I have my site set up and functioning on a vps. The domain is on godaddy. The nameservers point at godaddy then i have set the a record to point at the IP of the VPS and its working fine. I now need to set up email for this. My site sends various emails to me when certain things happen and i also have email accounts set up for users e.g. email@example.com. These all worked when i had shared hosting but now i need to set it up myself.
The VPS is using centos with apache,sql and php running the website.
I have looked at google apps for business to run this but i want to be able to send emails using php along with hosting email accounts for admins of the site.