Skip to content

Conversation

@ntninja
Copy link
Contributor

@ntninja ntninja commented Dec 19, 2025

Description of the issue/feature this PR addresses:
New Microsoft AutoDiscover and Apple Mail MDM support used hard-coded transport encryption settings (immediate TLS IMAP and, inconsistently, StartTLS SMTP for Microsoft and immediate TLS for Apple). In addition, there was no documentation on the meaning of these values.

Current behavior before PR:
Works if you’re lucky that your settings match.

Desired behavior after PR is merged:
Can be fixed (and hopefully also understood by admin!) if wrong.

…iscover XML

Definitely better than hard-coding wrong values without even documenting it.
@ntninja ntninja changed the title Fix consistent autoconfig encryption Fix inconsistent autoconfig encryption Dec 19, 2025
@ntninja ntninja changed the title Fix inconsistent autoconfig encryption Fix inconsistent autoconfig encryption settings Dec 19, 2025
@ntninja ntninja force-pushed the fix-consistent-autoconfig-encryption branch from 357fd6b to 53ca0ef Compare December 20, 2025 00:05
@ntninja ntninja force-pushed the fix-consistent-autoconfig-encryption branch from 53ca0ef to 96ed44f Compare December 20, 2025 00:14
Useful for multi-domain deployments, allows `"HOSTNAME"` to be set to something
like `"mail.%EMAILDOMAIN%"` to generate the requesting e-mail domain prefixed
with “mail.”.
…files

Also adds the “{Incoming,Outgoing}MailServerAuthentication” as the docs state
it to be “required”.
@codecov
Copy link

codecov bot commented Dec 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.67%. Comparing base (a25c929) to head (592168e).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3843      +/-   ##
==========================================
- Coverage   83.67%   83.67%   -0.01%     
==========================================
  Files         314      314              
  Lines       15422    15432      +10     
  Branches     2040     2043       +3     
==========================================
+ Hits        12904    12912       +8     
- Misses       1826     1827       +1     
- Partials      692      693       +1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant