View Full Version : [ubuntu] Hosting Webserver, but email is through gmail, trouble sending mail to domain via php

December 12th, 2008, 01:46 AM
I setup a web server, let's say example.com.

Email is handled through gmail, so only web traffic is going to example.com.

When this server sends email notices via php to anyone@example.com, it fails because it is looking locally.

Where can I tell the server to use the gmail servers for anyone@example.com ?