Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Member
    Join Date
    Aug 2005
    Posts
    17

    Default Google Apps sending phpmail WHM error

    We are running a dedicated server housed in a well know datacentre in the UK, running cPanel 11.25.0-R46156 - WHM 11.25.0 - X 3.9
    on the OS CENTOS 5.5 i686.
    PHP is configured with 5.1.13 with openssl and all other mod cons.
    half our clients on the server use the standard on board email (mx records set to send from clients domain – standard setting on WHM). This works fine for them however a bunch of clients on our recommendation have switched to google apps as the spam filtering and webmail is second to none.
    Everything about their email is better apart from one small oddity, which I’ll explain in detail below.
    To make this nice and simple I am going to use some pseudo names and domains to describe the fault.
    We are going to call the standard whm mail clients: abc@whmdomain.com
    and the google apps users: xyz@gadomain.com

    abc@whmdomain.com = send mail, works perfect.
    abc@whmdomain.com = receive mail, works perfect.

    xyz@gadomain.com = send mail, works perfect.
    xyz@gadomain.com = receive mail, works perfect…APART from it will NOT receive local phpmail, IF the sender is another google apps user.

    When a Standard whm mail client uses a php script to send mail on our server it is sent from ‘clientsWhmUsername@ourHostname.com’ , and the following occurs:
    ‘clientsWhmUsername@ourHostname.com’ = send and receive, works perfect.
    If its a google apps users sending phpmail via the same method though, then‘clientsWhmUsername@ourHostname.com’ = sends fine, and recipient receives. UNLESS the recipient is another google apps user on OUR server, they then will NOT receive the phpscript email!
    How did we discover this?
    long story, but after intense testing I can confirm it is only other google apps users on our server who do not receive email from phpmail scripts when the sender is also another google apps user.

    All of the settings have been checked, double-checked and verified, the SPF records and all other records are correct however there is obviously something not right. My solution Im thinking of right now is to somehow change all of the on board phpmail scripts to send from one separate domain, so instead of each user sending from their individual ‘clientsWhmUsername@ourHostname.com’, instead all phpmail gets sent from ‘allPhpMailSentFromOneNonGoogleAppUser@ourHostname.com’.
    Does anyone know if this is possible? And if so how would we accomplish this?
    Thanks in advance.
    Last edited by tsediting; 08-04-2010 at 06:53 AM.

Similar Threads & Tags
Similar threads

  1. Google Apps
    By Ghansham in forum E-mail Discussions
    Replies: 2
    Last Post: 08-24-2011, 04:37 AM
  2. MX redirect to google apps
    By denn82 in forum E-mail Discussions
    Replies: 1
    Last Post: 11-17-2010, 09:58 PM
  3. Need Help. Google Apps
    By ellardchua in forum New User Questions
    Replies: 1
    Last Post: 10-04-2010, 07:14 AM
  4. Using google apps
    By sitekeeper in forum E-mail Discussions
    Replies: 5
    Last Post: 01-18-2008, 05:45 PM
  5. Google Apps - gmail
    By drhamad in forum New User Questions
    Replies: 1
    Last Post: 02-13-2007, 08:16 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube