Improve SMTP protocol support, streaming paths, benchmarks, and conformance#284
Open
vhafdal wants to merge 40 commits into
Open
Improve SMTP protocol support, streaming paths, benchmarks, and conformance#284vhafdal wants to merge 40 commits into
vhafdal wants to merge 40 commits into
Conversation
Support RCPT ESMTP parameters
Fix package version metadata
Preserve UTF-8 SMTP domains
# Conflicts: # src/SmtpServer/Protocol/SmtpParser.cs
# Conflicts: # src/SmtpServer.Tests/SmtpParserTests.cs # src/SmtpServer/Protocol/SmtpParser.cs
# Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md # src/SmtpServer.Tests/SmtpParserTests.cs # src/SmtpServer.Tests/SmtpServerTests.cs # src/SmtpServer/Protocol/RcptCommand.cs # src/SmtpServer/Protocol/SmtpParser.cs
vhafdal
marked this pull request as ready for review
July 15, 2026 19:52
This was referenced Jul 15, 2026
Author
|
So I would not have to wait a long time for PR approval I decided to just do one clean PR that includes all the changes. |
Add builder-configurable SMTPUTF8, DSN, and CHUNKING advertisement/enforcement with compatibility defaults. Add session policy callbacks for connection and HELO/EHLO decisions, plus safe command snapshots for AUTH-safe diagnostics. Build/test: dotnet build src/SmtpServer.sln; env DOTNET_ROLL_FORWARD=Major dotnet test src/SmtpServer.Tests/SmtpServer.Tests.csproj --no-build; dotnet pack src/SmtpServer/SmtpServer.csproj -c Release --no-restore. Co-Authored-By: Codex <codex@openai.com> Session: local Codex CLI
The initial 11.2.0 feed package was published from stale Release output and did not expose the SS-17 API. Bump the package version so consumers can restore an immutable corrected artifact. Build/test: dotnet build src/SmtpServer/SmtpServer.csproj -c Release -m:1; verified Release XML contains SmtpServerOptionsBuilder.Extensions and SmtpCommandEventArgs.SafeCommand. Co-Authored-By: Codex <codex@openai.com> Session: local Codex CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This draft PR aggregates the SMTP Server Jira work completed on
nexer-prodfrom the fork. It is intended as a single review path for the protocol, streaming, benchmark, parser, limit, and EHLO conformance improvements instead of opening more dependent PRs.Included Work
IStreamingMessageStorewhile preserving existingIMessageStorebehavior.NetworkBufferSizeinto connection pipe setup.ToArray()where possible.MaxCommandLineLengthseparate fromMaxMessageSize.Notes For Reviewers
IMessageStore.SaveAsync(... ReadOnlySequence<byte> ...)contract is preserved.IStreamingMessageStore.MaxMessageSizeremains focused on DATA/BDAT message content; command and AUTH continuation lines now useMaxCommandLineLength.Validation
Most recent verification on the final
nexer-prodmerge state:DOTNET_ROLL_FORWARD=Major dotnet test src/SmtpServer.Tests/SmtpServer.Tests.csprojExisting warnings observed during local validation:
Jira
Covers SS-2 through SS-16, including the final consolidated work for SS-12, SS-13, SS-14, SS-15, and SS-16.