Module parser

Module parser 

Source

Structs§

EsmtpParameter
An ESMTP parameter: name["=" value]
MailPath
A parsed email path: optional source route (at-domain-list) plus mailbox.
Mailbox
An email mailbox: local-part "@" domain
XClientParameter
A single XCLIENT parameter: name=xtext-value. The value field stores the xtext-decoded string; the wire form uses xtext encoding where non-printable bytes appear as +XX hex pairs.

Enums§

Command
CommandVerb
Domain
Domain part of a mailbox in a MAIL FROM address.
EnvelopeAddress
An envelope address: either a path, null sender, or postmaster.
ForwardPath
The forward path (recipient) for a RCPT TO command
MaybePartialCommand
PartialReason
Reason why a command was only partially parsed.
ReversePath
The reverse path (sender) for a MAIL FROM command

Constants§

REDACTED
Placeholder substituted for a secret when a command is rendered for logs or diagnostics rather than the wire.

Functions§

redacted_auth_command
Render an AUTH command line with its SASL initial-response masked as REDACTED. When has_initial_response is false, the returned line is just the verb and mechanism, matching the wire form for a command with no initial-response.