Re: ANN: Etiquette: a protocol construction tool

Luke Gorrie <[email protected]> 17 Sep 2003 00:24:11 +0200
Newsgroups gmane.lisp.clump
Message-ID <[email protected]>
"Pascal J.Bourguignon" <[email protected]> writes:

> Did you  ever try to talk IMAP3  to a server yourself?  And POP3? Even
> SMTP is more complex than POP3!

Of course SMTP servers can be fairly helpful..

   $ telnet mail 25
   Escape character is '^]'.
   220 mail.bluetail.com ESMTP Sendmail 8.12.9/8.12.9/duva-2.0; Wed, 17 Sep 2003 00:18:03 +0200
=> help
   214-2.0.0 This is sendmail version 8.12.9
   214-2.0.0 Topics:
   214-2.0.0       HELO    EHLO    MAIL    RCPT    DATA
   214-2.0.0       RSET    NOOP    QUIT    HELP    VRFY
   214-2.0.0       EXPN    VERB    ETRN    DSN     AUTH
   214-2.0.0       STARTTLS
   214-2.0.0 For more info use "HELP <topic>".
   214-2.0.0 To report bugs in the implementation send email to
   214-2.0.0       [email protected].
   214-2.0.0 For local information send email to Postmaster at your site.
   214 2.0.0 End of HELP info
=> help mail
   214-2.0.0 MAIL FROM: <sender> [ <parameters> ]
   214-2.0.0       Specifies the sender.  Parameters are ESMTP extensions.
   214-2.0.0       See "HELP DSN" for details.
   214 2.0.0 End of HELP info
=> MAIL FROM:<[email protected]>
   250 2.1.0 <[email protected]>... Sender ok
=> help dsn
   214-2.0.0 MAIL FROM: <sender> [ RET={ FULL | HDRS} ] [ ENVID=<envid> ]
   214-2.0.0 RCPT TO: <recipient> [ NOTIFY={NEVER,SUCCESS,FAILURE,DELAY} ]
   214-2.0.0                    [ ORCPT=<recipient> ]
   214-2.0.0       SMTP Delivery Status Notifications.
   214-2.0.0 Descriptions:
   214-2.0.0       RET     Return either the full message or only headers.
   214-2.0.0       ENVID   Sender's "envelope identifier" for tracking.
   214-2.0.0       NOTIFY  When to send a DSN. Multiple options are OK, comma-
   214-2.0.0               delimited. NEVER must appear by itself.
   214-2.0.0       ORCPT   Original recipient.
   214 2.0.0 End of HELP info
=> RCPT TO:<[email protected]>
   250 2.1.5 <[email protected]>... Recipient ok
=> help data
   214-2.0.0 DATA
   214-2.0.0       Following text is collected as the message.
   214-2.0.0       End with a single dot.
   214 2.0.0 End of HELP info
=> data
   354 Enter mail, end with "." on a line by itself
   Hello, Luke.
   .
   250 2.0.0 h8GMI34H031568 Message accepted for delivery
=> quit
   221 2.0.0 mail.bluetail.com closing connection
   Connection closed by foreign host.