-
Notifications
You must be signed in to change notification settings - Fork 400
Add ability to disable POP3 and IMAP servers via null port configuration #1998
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
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: rnwood <1327895+rnwood@users.noreply.github.com>
…ing option Co-authored-by: rnwood <1327895+rnwood@users.noreply.github.com>
Co-authored-by: rnwood <1327895+rnwood@users.noreply.github.com>
Co-authored-by: rnwood <1327895+rnwood@users.noreply.github.com>
❌ PR Title Validation FailedYour pull request title doesn't follow the Required format: Valid types: Examples:
Your current title: Please update your PR title to match the conventional commit For more details, see our |
|
📊 Code Coverage Report
📁 Coverage by Namespace
Overall Coverage Details:
Enhanced coverage report with namespace breakdown - Azure DevOps Build #3.12.0-ci20251228104_pr1998 20251228.5 |



POP3 and IMAP servers now consume ports even when unused. Users need the ability to disable them independently.
Changes
Pop3Server.cs: Early return in
StartAsync()whenPop3Portis null (matching existing IMAP behavior). FixedListeningPortsto return empty array when disabled instead of defaulting to port 110.appsettings.json: Document that null port values disable servers.
CommandLineParser.cs: Update help text to show empty string disables servers.
Usage
Command line:
Config file:
{ "ServerOptions": { "Pop3Port": null, "ImapPort": null } }Environment variables:
Disabled servers log:
[INF] POP3 server disabled - no port configuredDefault behavior unchanged - both servers remain enabled by default.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.