I've found a problem with an E-Mail provider (Strato) that causes a 5.7.0 error after a successful authentication (2.7.0) due to the sent EHLO after the authentication.
Connected to smtp://smtp.strato.de:587/
S: 220 smtp.strato.de ESMTP RZmta 37.4 ready (mo11)
C: EHLO [192.168.1.70]
S: 250-smtp.strato.de greets 79.194.205.58
S: 250-ENHANCEDSTATUSCODES
S: 250-8BITMIME
S: 250-PIPELINING
S: 250-DELIVERBY
S: 250-SIZE 104857600
S: 250-AUTH SCRAM-SHA-1 DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
S: 250-STARTTLS
S: 250 HELP
C: STARTTLS
S: 220 Ready to start TLS
C: EHLO [192.168.1.70]
S: 250-smtp.strato.de greets 79.194.205.58
S: 250-ENHANCEDSTATUSCODES
S: 250-8BITMIME
S: 250-PIPELINING
S: 250-DELIVERBY
S: 250-SIZE 104857600
S: 250-AUTH SCRAM-SHA-1 DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
S: 250 HELP
C: AUTH SCRAM-SHA-1 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
S: 334 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
C: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
S: 334 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
C:
S: 235 2.7.0 OK Authenticated
C: EHLO [192.168.1.70]
S: 250-smtp.strato.de greets 79.194.205.58
S: 250-ENHANCEDSTATUSCODES
S: 250-8BITMIME
S: 250-PIPELINING
S: 250-DELIVERBY
S: 250-SIZE 104857600
S: 250-AUTH SCRAM-SHA-1 DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
S: 250 HELP
C: MAIL FROM:<XXXXXXXX@XXXXXXX.de>
C: RCPT TO:<XXXXXXXX@XXXXXXX.de>
S: 530 5.7.0 Bitte konfigurieren Sie ihr E-Mailprogramm fuer Authentifizierung am SMTP Server, wie auf www.strato.de/email-hilfe beschrieben. - Please configure your mail client for using SMTP Server Authentication
S: 503 5.5.1 need MAIL FROM first
C: QUIT
S: 221 2.0.0 closing connection
I've found a problem with an E-Mail provider (Strato) that causes a 5.7.0 error after a successful authentication (2.7.0) due to the sent EHLO after the authentication.