Expand description
SMTP server implementation
Modules§
- actions
- SMTP protocol actions implementation
Structs§
- Smtp
Server - SMTP server that forwards mail to LLM
Constants§
- EHLO_
EXTENSIONS - The extensions NetGet’s own EHLO reply advertises.
- MAX_
LINE_ BYTES - The longest single line this server will buffer, in bytes.
Functions§
- ehlo_
reply - NetGet’s answer to
EHLO/HELO, orNonefor any other line. - greeting_
hostname - The hostname a 220 greeting announced (
220 <host> ...), for the EHLO reply to repeat. - smtp_
command_ event_ data - The event data for one SMTP line: the line itself, plus what NetGet can tell from it.
- smtp_
preferred_ actions - The actions whose reply wins when a batch answers one SMTP line with several: the one the
line’s
answer_withnames when only one fits. SeeExecutionResult::chosen_reply.