Hi I am having trouble with sending emails.
I have 2 servers set up. Server A is used for webhosting and server B is used as an email server for all the domains that are setup on server A. Both servers are using cpanel.
I can connect to server B using smtp from home or anywhere else really and I can see in the logs that server B handles the emails just fine. Emails get sent and received just fine in that case.
But when I send an email from my website which is hosted on server A, server A is somehow delivering the emails. So when I send an email to [email protected] using php, server A attempts to deliver the message but it fails with "REJECTED - Bad HELO - Host impersonating [mydomain.com]"
I have dns for all domains on Server A set up as "Remote Mail Exchanger" but the server still attempts to send all mail that is sent directly from my websites.
I should mention that I am using phpmailer class to send emails using smtp from my websites and prior to december 26th everything was working fine. I set this up sometime in August.
HOpe you guys can help.
Thanks
I have 2 servers set up. Server A is used for webhosting and server B is used as an email server for all the domains that are setup on server A. Both servers are using cpanel.
I can connect to server B using smtp from home or anywhere else really and I can see in the logs that server B handles the emails just fine. Emails get sent and received just fine in that case.
But when I send an email from my website which is hosted on server A, server A is somehow delivering the emails. So when I send an email to [email protected] using php, server A attempts to deliver the message but it fails with "REJECTED - Bad HELO - Host impersonating [mydomain.com]"
I have dns for all domains on Server A set up as "Remote Mail Exchanger" but the server still attempts to send all mail that is sent directly from my websites.
I should mention that I am using phpmailer class to send emails using smtp from my websites and prior to december 26th everything was working fine. I set this up sometime in August.
HOpe you guys can help.
Thanks
Last edited: