Please turn on SMTP Authentication in your mail client errors

Domenico

Well-Known Member
Aug 14, 2001
377
13
318
All of a sudden customers on different servers get the following error:

SMTP error from remote mail server after RCPT TO:<[email protected]xxx>:
550-Please turn on SMTP Authentication in your mail client, or login to
the
550-IMAP/POP3 server before sending your message.

All have SMTP Authentication turned on. What now?
 

Domenico

Well-Known Member
Aug 14, 2001
377
13
318
As expected, enabling WHM > Service Configuration > Exim Configuration Manager: "Allow weak SSL/TLS ciphers"? helps.

How to explain customers who don't know anything about this to fix this within Outlook?

And, what changed last night that made this happen?
 
Last edited by a moderator:
  • Like
Reactions: blackwidow02

SysSachin

Well-Known Member
Aug 23, 2015
604
49
28
India
cPanel Access Level
Root Administrator
Twitter
May be you can fix this by installing the ssl on your incoming and outgoing mail server.

That is hostname of the server. Have the ssl installed on the hostname of the server. You will not get the error.
 

Domenico

Well-Known Member
Aug 14, 2001
377
13
318
May be you can fix this by installing the ssl on your incoming and outgoing mail server.

That is hostname of the server. Have the ssl installed on the hostname of the server. You will not get the error.
Thanks but that is not the issue. SSL certificates are installed and working fine.
 

cPWilliamL

cP Technical Analyst II
Staff member
May 15, 2017
258
30
103
America
cPanel Access Level
Root Administrator

Domenico

Well-Known Member
Aug 14, 2001
377
13
318
Last edited by a moderator:

cPWilliamL

cP Technical Analyst II
Staff member
May 15, 2017
258
30
103
America
cPanel Access Level
Root Administrator

Domenico

Well-Known Member
Aug 14, 2001
377
13
318
So, this was the solution.

"After reviewing the mail logs I do see that this behavior appears to affect many users:

[15:46:42 neo [email protected] ~]cPs# exigrep "Please turn on SMTP Authentication in your mail client," /var/log/exim_mainlog|awk '{print $3}'|sort|uniq|wc -l
749

Typically the solution to this behavior is to disable SMTP Restrictions and re-enable them.

SMTP Restrictions - Documentation - cPanel Documentation"​

I guess cPanel doesn't know either...
 
Last edited by a moderator:
  • Like
Reactions: renej

Rojanau

Registered
Jan 4, 2015
1
0
1
cPanel Access Level
Root Administrator
This seems to have worked for me. I had to disable DKIM in cPanel - EMAIL - AUTHENTICATION and then enable it again.

This worked for me too! Bizarre!!

1. Changed cPanel from Local to Remote Mail Exchanger
2. Changed MX away from cPanel to a different MX server..
3. Changed Autodiscover record
4. Started to get 550 SMTP Authentication errors from some places.. not all
5. Removed DKIM + SPF Record. Same issue!!!
6. Found this article. RE-enabled DKIM only. Did NOT RE-enable SPF record.
7. All Fixed!! No more 550 SMTP Authentication 'cannot relay to this server' error...

Thanks

Michael
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @Rojanau,

Can you let us know the steps you were taking to reproduce the 550 SMTP authentication error? If a domain name is configured with remote MX records and email is handled by a remote mail server, you'd generally avoid sending out email through the cPanel server and instead use the remote mail server to send the emails.

Thank you.
 

Scott Aadal

Registered
Jan 28, 2017
3
0
1
New York
cPanel Access Level
Root Administrator
Hello,

I am having the same issue with WHM on Google cloud with G suite. Migrated an instance yesterday and thought everything was perfect until today where I am getting : 550 Please turn on SMTP Authentication in your mail client, or login to the IMAP/POP3 server before sending your message. mail-oi1-f179.google.com [209.85.167.179]:35055 is not permitted to relay through this server without authentication.

Service manager has smtp enable, SRS enabled. Anything new here.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463

Scott Aadal

Registered
Jan 28, 2017
3
0
1
New York
cPanel Access Level
Root Administrator
Hi @cPanelMichael,

Good call! After digging the domain I noticed that DNS records were pointed to the registrar and the registrar did not have MX records set. Thus throwing DKIM & SPF errors. Just an A record (this is what I get for migrating after midnight). Since Google has a 5 min TTL through cloud dns I figure its worth a shot (I have no mail). By the time I wrote this Google DNS populated.

All fixed! Thanks so much.

SA
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hi Scott,

I'm glad to see it worked out. Thanks for sharing the outcome!
 

Webrockhost

Registered
Jun 14, 2018
3
1
3
netherlands
cPanel Access Level
Root Administrator
Not sure if this is entirely the same but we experience a simular issue on many servers.

After a reboot we need to toggle a setting in the exim configurator to get rid of the " 550-Please turn on SMTP Authentication in your mail client" error.

Since we have a lot of servers this causes a lot of problemen, more so if servers reboot on themself because of some other issue and customers start complaining they can't send mail.

After we change a setting in the exim configuration editor and save it, the authentication starts working again...

Since we have this on many servers others must have experienced the same?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @Webrockhost,

Could you open a support ticket so we can take a closer look at one of the affected systems to see why saving the Exim configuration was required to solve the issue? You can post the ticket number here and we'll update this thread with the outcome.

Thank you.