Mark_CFH

Well-Known Member
Apr 2, 2013
64
0
6
cPanel Access Level
Root Administrator
One of our clients is using google apps (email) for their emails. All the information needed was entered how it is suppose to be. In which its not working, they contacted Google apps about the issue, in which google apps stated its a server problem. The error that cpanel is giving is as follows:

"Please turn on SMTP Authentication in your mail client. ourserver.server.com (domain here) [serverIP]:42878 is not permitted to relay through this server without authentication."

Is there some setting on cPanel that you need to turn on SMTP Auth for this to work ? Or is it something that has nothing to do with the server, but the software being used (Joomla)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Could you elaborate on where you are seeing this error message, and what steps you take to reproduce it? Is it only through the PHP script, or does it happen in other instances?

Thank you.
 

Mark_CFH

Well-Known Member
Apr 2, 2013
64
0
6
cPanel Access Level
Root Administrator
It shows the messages when viewing the Mail Trace in the cPanel account.

cPanel > Mail > Email Trace:

Code:
Please turn on SMTP Authentication in your mail client. server.name.com (www.website.com) [serverIP]:35514 is not permitted to relay through this server without authentication.
The MX Entry that is needed is setup correctly via Google Apps setup.

And adding
Code:
v=spf1 ip4:ServerIP include:_spf.google.com ~all
Under Advanced DNS Editor
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Could you let us know how you are reproducing the issue beyond just the email trace feature in cPanel? Also, keep in mind that email for this domain name is not hosted on the cPanel if you are using a remote MX record.

Thank you.
 

SageBrian

Well-Known Member
Jun 1, 2002
416
2
318
NY/CT (US)
cPanel Access Level
Root Administrator
If using Google Apps, the mail should not be going through the cpanel server. All mail flows through Google's servers.
The only setting to be aware of is to put your cpanel server's IP address in the SPF (usually taken care of with 'a', but putting the IP doesn't hurt), and have the IP listed in the 'accepted' servers in Google Apps dashboard. This will help make sure any emails sent from your website (contact form, etc) are 'allowed' to be sent from the server.

I also try to make sure that the SPF allows for any IPs of mailing services like ConstantContact.
 

Mark_CFH

Well-Known Member
Apr 2, 2013
64
0
6
cPanel Access Level
Root Administrator
I think we have got this issue figured out. It was a setting that when reading over it, it basically says "do not touch" lol. Referring to SMTP Restrictions being turned off, and Antirelayd being enabled.

We wish there was another way around this, but it doesnt appear as such.
 

SageBrian

Well-Known Member
Jun 1, 2002
416
2
318
NY/CT (US)
cPanel Access Level
Root Administrator
Is the error coming from Joomla trying to send an email? By default, Joomla uses PHP on the server to send mail out. That's why I put the IP address in SPF. But, if the user setup Joomla to login to an outside mailserver, I guess the problem could be there. I've never done that in Joomla, as using PHP has worked all the time.

I manage many Joomla sites and Google Apps, and I haven't had an issue. It might be just something simple.
 

ScatSpeak

Registered
Nov 4, 2014
1
0
1
cPanel Access Level
Reseller Owner
I think we have got this issue figured out. It was a setting that when reading over it, it basically says "do not touch" lol. Referring to SMTP Restrictions being turned off, and Antirelayd being enabled.

We wish there was another way around this, but it doesnt appear as such.
Hi Mark_CFH! I realize that this issue was quite some time ago, but can you provide any more details about what was done to correct it?

I'm having a similar issue after migration from Postini to Google Apps and changing of my domain MX settings for compatibility with Google required changes - but all incoming email to the domain bounces when Google attempts to push it into the domain.

What did you do to fix your problem? TIA!