-
Notifications
You must be signed in to change notification settings - Fork 10
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
add starttls #23
Comments
I've started working on this, but I'm not sure if I'm capable enough to finish it. RFC2595 is the one I'm trying to implement, but it's taking some refactoring (since it needs to modify the connection readers/writers). |
It starts the TLS connection using the already existing connection, and replaces all readers/writers in use to make sure they're reading from the correct location (meaning they won't notice a difference). Associated with alienscience#23.
Please carry on if you would like. I am stuck on the getmessage command for at least another month. Is this helpful: Its the TLS upgrade used by an SMTP server in go. It uses the go TLS library. |
That is pretty much the implementation. https://github.com/alienscience/imapsrv/blob/master/command.go#L59-L65 |
Turns out, using openssl s_client, it seems to work... However, browsers such as Somehow they do not respond after the The problemThe client does not send a client-handshake during the handshake... The server keeps waiting for it, but the mail clients never send it ... SolvedNevermind ... this sub-issue is solved... I guess it's quite important to send \r\n after the command ... My mistake. |
No description provided.
The text was updated successfully, but these errors were encountered: