**** LMTP REDESIGN **** RESULT: - robust checking and handling of NNTP protocol errors - logging into a single file -> write(2) !fwrite(3) - invoked as mailer using LMTP, providing useful return status - invoked as command line (lowpri) - queuing is not supported for command line and a client issue for LMTP - remove To: and Cc: headers - allow crosspostings only through command line - new manpage - (optional) syslog - command line choice for sending "exactly once" or "at least once" (default) **** SMTP ENGINE **** [RFC821, 4.5.1. MINIMUM IMPLEMENTATION] In order to make SMTP workable, the following minimum implementation is required for all receivers: [RFC821, 4.1.2. COMMAND SYNTAX] Verb Parameter Buffer ----+---------------------------------+------------------- HELO MAIL FROM: (char *)sender RCPT TO: (char **)recipients DATA (char *)message RSET NOOP QUIT rfc822 header parsing from petidomo o posting@news.de.cw.net Newsgroup: cw.alert o posting+cw.alert@news.de.cw.net o cw.alert@news.de.cw.net cw.alert: "|lmtp2nntp ..." o cw.alert@news.de.cw.net cw.alert: "|lmtp2nntp ... -d cw.alert" ID logging problem --- RFC2800 ---- 2800 Internet Official Protocol Standards. J. Reynolds, R. Braden, S. Ginoza. May 2001. (Format: TXT=101648 bytes) (Obsoletes RFC2700) (Also STD1) (Status: STANDARD) RFC STD SMTP-Pipe SMTP Service Extension for Command Pipelining 2920 60* SMTP [Reserved for Simple Mail Transfer Protocol (SMTP). 10* See RFC 2821.] MAIL [Reserved for Internet Message Format. See RFC 11* See RFC 2822.] --- RFC2821 --- 2821 Simple Mail Transfer Protocol. J. Klensin, Editor. April 2001. (Format: TXT=192504 bytes) (Obsoletes RFC0821, RFC0974, RFC1869) (Status: PROPOSED STANDARD) --- RFC2822 --- 2822 Internet Message Format. P. Resnick, Editor. April 2001. (Format: TXT=110695 bytes) (Obsoletes RFC0822) (Status: PROPOSED STANDARD) --- RFC2920 --- 2920 SMTP Service Extension for Command Pipelining. N. Freed. September 2000. (Format: TXT=17065 bytes) (Obsoletes RFC2197) (Also STD0060) (Status: STANDARD)