Aller au contenu principal

Implémentation de base

L'implémentation minimale prend en charge trois commandes : HELP, PATH et QUIT. La commande HELP fournit un certain niveau de documentation et énumère éventuellement les protocoles d'adressage ou de communication connus. La commande PATH prend comme argument obligatoire un nom ou identifiant d'utilisateur suivi d'un "@", puis d'un nom d'hôte de style domaine dont les composantes de domaine peuvent être un protocole d'adressage, un environnement de communication ou un domaine non officiel ou familier.

S: (server listens on port 117)
U: (user connects to port 117)
S: 210-Welcome to the CMU network mail path service.
S: 210 Type 'HELP' for help.
U: help
S: 200-The server currently knows about the following mail worlds:
S: 200- BITNET,UUCP,CSNET,.AC.UK,EARNET,JANET,CDNNET
S: 200-Use the PATH command with "[email protected]" to get the
S: 200 ARPA-Internet mail address.
U: path [email protected]
S: 220 [email protected]
U: quit
S: 211 Bye bye.
S: (server closes connection)