Skip to content

test: set socket security for IMAP and SMTP to "TLS" in "dclogin"#991

Merged
link2xt merged 1 commit into
mainfrom
link2xt/xpuqolpkmwwn
May 28, 2026
Merged

test: set socket security for IMAP and SMTP to "TLS" in "dclogin"#991
link2xt merged 1 commit into
mainfrom
link2xt/xpuqolpkmwwn

Conversation

@link2xt
Copy link
Copy Markdown
Contributor

@link2xt link2xt commented May 28, 2026

With "default" (like it was for SMTP) or not set (like it was for IMAP), both TLS and STARTTLS are tried.
Trying STARTTLS against TLS port is going to timeout because in STARTTLS server talks first,
but when connected to TLS port the server
waits for TLS client hello and does not send anything.

Should not actually matter in tests which connect successfully on the first try because implicit TLS is tried first.

With "default" (like it was for SMTP) or not set (like it was for IMAP),
both TLS and STARTTLS are tried.
Trying STARTTLS against TLS port is going to timeout
because in STARTTLS server talks first,
but when connected to TLS port the server
waits for TLS client hello and does not send anything.

Should not actually matter in tests which connect successfully
on the first try because implicit TLS is tried first.
@link2xt
Copy link
Copy Markdown
Contributor Author

link2xt commented May 28, 2026

Related documentation PR: deltachat/interface#92

@link2xt link2xt merged commit 4ba19b0 into main May 28, 2026
8 checks passed
@link2xt link2xt deleted the link2xt/xpuqolpkmwwn branch May 28, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants