Skip to content

feat: follow certificate check parameter in autoconfig#8284

Merged
link2xt merged 1 commit into
chatmail:mainfrom
zdimension:feat/allow-insecure-autoconfig
May 28, 2026
Merged

feat: follow certificate check parameter in autoconfig#8284
link2xt merged 1 commit into
chatmail:mainfrom
zdimension:feat/allow-insecure-autoconfig

Conversation

@zdimension
Copy link
Copy Markdown
Contributor

@zdimension zdimension commented May 28, 2026

The HTTPS requests made during IMAP+SMTP autoconfig now respect the "Accept invalid certificates" setting in advanced server options.

This is useful for cases where the mail server is in an internal network where a signed HTTPS certificate cannot be obtained; in such cases the app currently requires entering all of the server details by hand. This will allow using self-signed certificates for the web server providing the autoconfig infos.

This PR constitutes somewhat of a replacement for #7472.

@link2xt link2xt self-requested a review May 28, 2026 17:48
Comment thread src/net/http.rs
@link2xt link2xt force-pushed the feat/allow-insecure-autoconfig branch from 00e9400 to 6303882 Compare May 28, 2026 19:19
@link2xt
Copy link
Copy Markdown
Collaborator

link2xt commented May 28, 2026

I pushed lint fixes (rustfmt, removed one unused import). This will also run the tests.

@link2xt link2xt force-pushed the feat/allow-insecure-autoconfig branch from 6303882 to ca22603 Compare May 28, 2026 19:20
@link2xt link2xt merged commit 5733a78 into chatmail:main May 28, 2026
23 of 31 checks passed
@zdimension
Copy link
Copy Markdown
Contributor Author

Thanks for the fast review and for your changes!

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