Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will SWAKS use TLS when server offers plain authentication? #15

Closed
RevealedFrom opened this issue Mar 18, 2020 · 2 comments
Closed

Will SWAKS use TLS when server offers plain authentication? #15

RevealedFrom opened this issue Mar 18, 2020 · 2 comments
Labels

Comments

@RevealedFrom
Copy link

RevealedFrom commented Mar 18, 2020

AWS offers AUTH PLAIN LOGIN, but insists on TLS. In the following what does <** 530 mean? Is it a 530 rseponse or a comment?

=== Trying email-smtp.us-west-2.amazonaws.com:25...
=== Connected to email-smtp.us-west-2.amazonaws.com.
<-  220 email-smtp.amazonaws.com ESMTP SimpleEmailService-d-UCMGFU8F2 l8rfaVjiaG1V7Lvw7tuo
 -> EHLO STRAUSS
<-  250-email-smtp.amazonaws.com
<-  250-8BITMIME
<-  250-SIZE 10485760
<-  250-STARTTLS
<-  250-AUTH PLAIN LOGIN
<-  250 Ok
 -> AUTH LOGIN
<** 530 Must issue a STARTTLS command first
 -> AUTH PLAIN 
****credentials removed***********
<** 530 Must issue a STARTTLS command first
*** No authentication type succeeded
 -> QUIT
<-  221 Bye
=== Connection closed with remote host.

If it is a Http response, should SWAKS then try TLS?

@RevealedFrom RevealedFrom changed the title Does SWAKS use TLS even when server offers plain authentication? Will SWAKS use TLS when server offers plain authentication? Mar 18, 2020
@jetmore
Copy link
Owner

jetmore commented Mar 18, 2020

If you want swaks to perform tls, try using one of --tls or --tls-optional options.

@jetmore
Copy link
Owner

jetmore commented Mar 18, 2020

And in answer to your first question, 530 Must issue a STARTTLS command first is an error returned by the server. Swaks errors that aren't from the server are marked with ***. The < indicates that it's from the server and ** indicates an error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants