Skip to main content

3.6. Message Objects

In the composition of messages, we use a set of objects such as mailbox or date. These objects are encoded in basic data elements. Some objects are simple things like integers or character strings, other objects are more complex things built up of lists or property lists.

The following is a list of the objects used in messages. The object descriptions are in alphabetical order.

Action​

The type of handling action taken by the MPM when processing a message. One of ORIGIN, RELAY, FORWARD, or DESTINATION.

Address​

Address is intended to contain the minimum information necessary to deliver a message, and no more (compare with mailbox).

An address is a property list. An address contains the following <name,value> pairs:

name    description
---- -----------
NET network name
HOST host name
USER user name

or:

name    description
---- -----------
MPM mpm-identifier
USER user name

Answer​

A yes (true) or no (false) answer to a question.

Arguments​

Many operations require arguments, which differ from command to command. This "object" is a place holder for the actual arguments when commands are described in a general way.

City​

The character string name of a city.

Command​

(mailbox, operation [ ,arguments ]
[ ,error-class, error-string ], trace)

Country​

The character string name of a country.

Date​

The date and time are represented according to the International Standards Organization (ISO) recommendations [26,27,28]. Taken together the ISO recommendations 2014, 3307, and 4031 result in the following representation of the date and time:

yyyy-mm-dd-hh:mm:ss,fff+hh:mm

Where yyyy is the four-digit year, mm is the two-digit month, dd is the two-digit day, hh is the two-digit hour in 24 hour time, mm is the two-digit minute, ss is the two-digit second, and fff is the decimal fraction of the second. To this basic date and time is appended the offset from Greenwich as plus or minus hh hours and mm minutes.

The time is local time and the offset is the difference between local time and Coordinated Universal Time (UTC). To convert from local time to UTC algebraically subtract the offset from the local time.

For example, when the time in

          Los Angeles is  14:25:00-08:00
the UTC is 22:25:00

or when the time in

          Paris is        11:43:00+01:00
the UTC is 10:43:00

Document​

The document is the user's composition and is not used by the message delivery system in any way.

Error-Class​

A numeric code for the class of the error. The error classes are coded as follows:

= 0: indicates success, no error.
This is the normal case.
= 1: failure, address changed.
This error is used when forwarding is possible, but not allowed
by the type of service specified.
= 2: failure, resources unavailable.
These errors are temporary and the command they respond to may
work if attempted at a later time.
= 3: failure, user error.
For example, unknown operation, or bad arguments.
= 4: failure, MPM error. Recoverable.
These errors are temporary and the command they respond to may
work if attempted at a later time.
= 5: failure, MPM error. Permanent.
These errors are permanent, there is no point in trying the same
command again.
= 6: Aborted as requested by user.
The response to a successfully canceled command.

Error-String​

This is a character string describing the error. Possible errors:

          error-string                  error-class

No errors 0
Ok 0
Mailbox Moved, see address 1
Mailbox Full, try again later 2
Syntax error, operation unrecognized 3
Syntax error, in arguments 3
No Such User 3
No Such Host 3
No Such Network 3
No Such Transaction 3
Mailbox Does Not Exist 3
Ambiguous Address 3
Server error, try again later 4
No service available 5
Command not implemented 5
Aborted as requested by user 6

Handling-Stamp​

The handling-stamp indicates the MPM, the date (including the time) that a message was processed by an MPM, and the type of handling action taken.

( mpm-identifier, date, action )

Host​

The character string name of a host.

Identification​

This is the transaction identifier associated with a particular message. It is the transaction number, and the MPM identifier of the originating MPM.

( mpm-identifier, transaction-number )

Internet Address​

This identifies a host in the ARPA internetwork environment. When used as a part of identification, it identifies the originating host of a message. The internet address is a 32 bit number, the higher order 8 bits identify the network, and the lower order 24 bits identify the host on that network [2]. For use in the MPMs the internet address is divided into eight bit fields and the value of each field is represented in decimal digits. For example, the ARPANET address of ISIE is 167837748 and is represented as 10,1,0,52. Further, this representation may be extended to include an address within a host, such as the TCP port of the MPM, for example, 10,1,0,52,0,45.

Mailbox​

This is the destination address of a user of the internetwork mail system. Mailbox contains information such as network, host, location, and local user indentifier of the recipient of the message. Some information contained in mailbox may not be necessary for delivery.

As an example, when one sends a message to someone for the first time, he may include many items which are not necessary simply to insure delivery. However, once he gets a reply to this message, the reply will contain an Address (as opposed to Mailbox) which may be used from then on.

A mailbox is a property list. A mailbox might contain the following <name,value> pairs:

name    description
---- -----------
MPM mpm-identifier
NET network name
HOST host name
PORT address of MPM within the host
USER user name
ORG organization name
CITY city
STATE state
COUNTRY country
ZIP zip code
PHONE phone number

The minimum mail box is an Address.

MPM-Identifier​

The internetwork address of the MPM. This may be the ARPA Internet Address or an X.121 Public Data Network Address [29]. The mpm-identifier is a property list which has one <name,value> pair. This unusual structure is used so that it will be easy to determine the type of address used.

Network​

This character string name of a network.

Operation​

This names the operation or procedure to be performed. It is a character string name.

Organization​

This character string name of a organization.

Phone​

This character string name representation of a phone number. For example the phone number of ISI is 1 (international region) + 213 (area code) + 822 (central office) + 1511 (station number) = 12138221511.

Port​

This names the port or subaddress within a host of the MPM. The default port for the MPM is 45 (55 octal) [4].

Reference​

The reference is an identification from an earlier message.

State​

The character string name of a state.

Trace​

Each MPM that handles the message must add its handling-stamp to this list. This will allow detection of messages being sent in a loop within the internet mail system, and aid in fault isolation.

Trail​

When a message is sent through the internetwork environment, it acquires this trace, a list of MPMs that have handled the message. This list is then carried as the trail in a reply or acknowledgment of that message. Requests and replies always have a trace and each MPM adds its handling-stamp to this trace. Replies, in addition, have a trail which is the complete trace of the original message.

Transaction Number​

This is a number which is uniquely associated with this transaction by the originating MPM. It identifies the transaction. (A transaction is a message and acknowledgment.) A transaction number must be unique during the time which the message (a request or reply) containing it could be active in the network.

Type-of-Service​

A service parameter for the delivery of a message, for instance a message could be delivered (REGULAR), forwarded (FORWARD), turned over to general delivery (GENDEL) (i.e., allow a person to decide how to further attempt to deliver the message), or require priority handling (PRIORITY).

User​

The character string name of a user.

X121 Address​

This identifies a host in the Public Data Network environment. When used as a part of identifier, it identifies the originating host of a message. The X121 address is a sequence of up to 14 digits [29]. For use in the MPMs the X121 address is represented in decimal digits.

Zip Code​

The character string representation of a postal zip code. The zip code of ISI is 90291.