SERVER:504 5.7.4 Unrecognized authentication type

SERVER:504 5.7.4 Unrecognized authentication type

by Ryan Marshall -
Number of replies: 2

My Moodle just stopped sending emails and I have no Idea why, it was working up until yesterday. I changed nothing. 

It is not sending the confirm email or the questionnaire.

 Moodle 2.6, Windows server

Thank you for your time and help.

Below is the message I get when I try to send A questionnaire:


SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "220 www.3sceducation.com Microsoft ESMTP MAIL Service, Version: 7.5.7601.17514 ready at  Fri, 3 Jul 2015 12:41:01 -0700 
"SMTP -> get_lines(): $data is "220 www.3sceducation.com Microsoft ESMTP MAIL Service, Version: 7.5.7601.17514 ready at  Fri, 3 Jul 2015 12:41:01 -0700 
"SMTP -> FROM SERVER:220 www.3sceducation.com Microsoft ESMTP MAIL Service, Version: 7.5.7601.17514 ready at  Fri, 3 Jul 2015 12:41:01 -0700 
CLIENT -> SMTP: EHLO www.3sceducation.com
SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "250-www.3sceducation.com Hello [127.0.0.1]
"SMTP -> get_lines(): $data is "250-www.3sceducation.com Hello [127.0.0.1]
"SMTP -> get_lines(): $data was "250-www.3sceducation.com Hello [127.0.0.1]
"SMTP -> get_lines(): $str is "250-TURN
"SMTP -> get_lines(): $data is "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
"SMTP -> get_lines(): $data was "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
"SMTP -> get_lines(): $str is "250-SIZE 2097152
"SMTP -> get_lines(): $data is "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
"SMTP -> get_lines(): $data was "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
"SMTP -> get_lines(): $str is "250-ETRN
"SMTP -> get_lines(): $data is "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
"SMTP -> get_lines(): $data was "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
"SMTP -> get_lines(): $str is "250-PIPELINING
"SMTP -> get_lines(): $data is "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
"SMTP -> get_lines(): $data was "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
"SMTP -> get_lines(): $str is "250-DSN
"SMTP -> get_lines(): $data is "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
"SMTP -> get_lines(): $data was "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
"SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES
"SMTP -> get_lines(): $data is "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
"SMTP -> get_lines(): $data was "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
"SMTP -> get_lines(): $str is "250-8bitmime
"SMTP -> get_lines(): $data is "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
"SMTP -> get_lines(): $data was "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
"SMTP -> get_lines(): $str is "250-BINARYMIME
"SMTP -> get_lines(): $data is "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
"SMTP -> get_lines(): $data was "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
"SMTP -> get_lines(): $str is "250-CHUNKING
"SMTP -> get_lines(): $data is "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
"SMTP -> get_lines(): $data was "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
"SMTP -> get_lines(): $str is "250-VRFY
"SMTP -> get_lines(): $data is "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
"SMTP -> get_lines(): $data was "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
"SMTP -> get_lines(): $str is "250 OK
"SMTP -> get_lines(): $data is "250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250 OK
"SMTP -> FROM SERVER:250-www.3sceducation.com Hello [127.0.0.1]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250 OK
CLIENT -> SMTP: AUTH LOGIN
SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "504 5.7.4 Unrecognized authentication type 
"SMTP -> get_lines(): $data is "504 5.7.4 Unrecognized authentication type 
"SMTP -> FROM SERVER:504 5.7.4 Unrecognized authentication type 
SMTP -> ERROR: AUTH command failed: 504 5.7.4 Unrecognized authentication type 
CLIENT -> SMTP: QUIT
SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "221 2.0.0 www.3sceducation.com Service closing transmission channel
"SMTP -> get_lines(): $data is "221 2.0.0 www.3sceducation.com Service closing transmission channel
"SMTP -> FROM SERVER:221 2.0.0 www.3sceducation.com Service closing transmission channel
SMTP connect() failed.


Average of ratings: -
In reply to Ryan Marshall

Re: SERVER:504 5.7.4 Unrecognized authentication type

by Colin Fraser -
Picture of Documentation writers Picture of Testers

Something changed, if not in the Moodle then perhaps in the Server. These things don't just happen. Check your server logs too, or is there a changed security routine that has disrupted something, an incomplete update that has not been properly registered through the system. There should be a record of something happening, somewhere and it may not appear related. Check with all the admins, if there are others with access to the system, see if they may have done something.    

In reply to Colin Fraser

Re: SERVER:504 5.7.4 Unrecognized authentication type

by Ryan Marshall -

Thank you for taking the time to respond to my question.

It seems that when we were testing to see of changing the (Newline character in mail option in the Email config page Google auto filled the SMTP username and SMTP password and would not allow you to remove it. I had to go in using IE and remove that information.