Skip to main content

Detailed Protocol Description

The protocol is designed to provide a flexible but conservative mechanism for providing responses and adding experimental or extended commands.

<user connects to server>

The server responds with a message indicating the status of the
server and optional information.

210 Greeting message indicating the server is ready.

410 The server is down for some unknown reason for a short
time.

510 The server is unavailable.

HELP [<arg>]

The server can respond with general help information about the
server, about the specific topic described by "arg", or it can
indicate that something is temporarily wrong with the HELP
facility. It is strongly recomended that the general HELP
command documentation be implemented and expanded.

200 General or specific documentation given.

220 Documentation given from a database.

421 Service temporarily unavailable.

501 Command not implemented or topic not known.

PATH <user>@<host>

The server normally responds with either the mail path that
will work for the given mailbox address or indicates the domain
style host name is unknown. If the database is in transition or
inconsistent, a temporary or permanent error can be supplied.

220 Rigid format route given.

230 Rigid format route given. Domain servers should be
used.

420 Database problems. Try again later.

501 Invalid argument form or null argument given.

520 No such host found in database.

521 Host name is ambiguous.

When a route is supplied with the 2xx success responses. It has a
fixed format with a one-line response. The format is as follows:

<3-digit-code><SP><local-part>@<domain><CRLF>

The "local-part" and "domain" components are defined under the
SMTP protocol [5] and are intended to be used over SMTP
connections.

QUIT

Respond and close the server down.

211 Close the connection down.

One special code is reserved and is used for a special case. The code is 412 and is sent when the server has been waiting for a response for more then 2 minutes and has decided to timeout the connection. After the "412 <timeout msg>" is sent, the server may close or possibly abort the connection.

Because of the somewhat experimental nature of the server, additional commands are expected to be added as they become needed. No restrictions are placed on the names of these experimental commands other then the must not conflict with the basic commands and are not allowed to be abbreviated (i.e., "SEAR" can not be used for "SEARCH").