Author Topic: External SMTP 535 Error Authentication Failed  (Read 4082 times)

Offline sethnic

  • Newbie
  • *
  • Posts: 2
External SMTP 535 Error Authentication Failed
« on: June 19, 2016, 04:02:58 PM »
Hi RC community, I've been searching and chatting to resolve this, but no luck.
I have an installation of RC  1.1.3.
I have set it up to send through an external SMTP server.
I cannot send emails.. always get the 535 error, as follows, with edits:
Quote
SMTP Error: Authentication failure: Invalid response code received from server (Code: 535) in /home/myaccount/public_html/roundcube/program/lib/Roundcube/rcube.php on line 1708 (POST /roundcube/?_task=mail&_unlock=loading1461251017837&_lang=en_US&_framed=1?_task=mail&_action=send)
Tried all the ports in config-inc.php. Double checked with the webhost, with the SMTP service.
Would appreciate some help. Thanks.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: External SMTP 535 Error Authentication Failed
« Reply #1 on: June 19, 2016, 04:18:35 PM »
Enable smtp_debug and post the log.

Offline sethnic

  • Newbie
  • *
  • Posts: 2
Re: External SMTP 535 Error Authentication Failed
« Reply #2 on: June 19, 2016, 04:31:17 PM »
OK, just tried it again...

Code: [Select]
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Recv: 220-myhost.com ESMTP Exim 4.87 #1 Sun, 19 Jun 2016 14:28:08 -0600
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Recv: 220-We do not authorize the use of this system to transport unsolicited,
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Recv: 220 and/or bulk e-mail.
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Send: EHLO mydomain.com
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Recv: 250-myhost.com Hello myhost.com [192.168.250.149]
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Recv: 250-SIZE 52428800
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Recv: 250-8BITMIME
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Recv: 250-PIPELINING
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Recv: 250-AUTH PLAIN LOGIN
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Recv: 250-STARTTLS
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Recv: 250 HELP
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Send: AUTH LOGIN
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Recv: 334 VXNlcm5hbWU6
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Send: cHJvZ3JhbUBpc3JhZWwtdGhlYXRyZS5jb20=
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Recv: 334 UGFzc3dvcmQ6
[19-Jun-2016 20:28:08 +0000]: <374d3bb1> Send: ****** [12]
[19-Jun-2016 20:28:10 +0000]: <374d3bb1> Recv: 535 Incorrect authentication data
[19-Jun-2016 20:28:10 +0000]: <374d3bb1> Send: RSET
[19-Jun-2016 20:28:10 +0000]: <374d3bb1> Recv: 250 Reset OK
[19-Jun-2016 20:28:10 +0000]: <374d3bb1> Send: QUIT
[19-Jun-2016 20:28:10 +0000]: <374d3bb1> Recv: 221 myhost.com closing connection
« Last Edit: June 19, 2016, 04:43:59 PM by sethnic »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: External SMTP 535 Error Authentication Failed
« Reply #3 on: June 19, 2016, 05:48:12 PM »
So that is defiantly a problem with the SMTP server not Roundcube, it looks like there are serval different things it could be try going thorugh some of the sugestions found here: https://www.google.com/search?q=535+Incorrect+authentication+data