Connectivity:Overview
It is valid for the return path to be
null, as in MAIL FROM: <> . This is
typically used when sending an error
The return path is the address that any
report. A null return path means that
no delivery failure report is required.
error report such as would be generated
Its main purpose is to avoid getting
into the situation in which delivery fail
if the message is undeliverable is sent to.
ure messages continually shuttle back
and forth because both sender and re
cipient addresses are unreachable.
The recipients of a message are de
will not appear in the headers at all.
lookup on it. However, a mail server
fined using the command RCPT TO:
Each recipient is acknowledged
intended to receive messages for local
. Each address is enclosed
with a 250 OK reply. A recipient may
users only would reject recipients that
in angle brackets. A message may have
also be rejected using a reply with a 550
aren't at that domain.
many recipients, and an RCPT TO:
reply code. This depends on how the
Other replies may be received in
command is sent for each one. It is the
server has been configured. Dial up
response to RCPT TO: messages as a
RCPT TO: command, not anything in
ISP SMTP relay servers may accept
result of the SMTP server being help
the message headers, that results in a
every RCPT TO: command, even if the
ful. If an address is incorrect but the
message arriving at its destination. In
address specified is invalid, because
server knows the correct address it
the case of blind carbon copies or list
the server doesn't know that the ad
could respond with 251 User not lo
server messages the recipient address
dress is invalid until it does a DNS
cal; will forward to or 551
User not local; please try .
Note the different reply codes signify
Application Protocol Reply Codes
ing whether the server has routed the
message or not. These replies aren't
Many Internet application layer protocols which are based on ASCII text
common, and a mail client may simply
commands use a system of replies in which an initial three digit code
treat the 551 response as an error,
provides the essential status information. Each digit has a particular mean
rather than try to parse the alternative
ing, as shown below.
address out of the reply text.
For the sake of completeness it
First Digit
should be pointed out that RCPT TO:
1xx: Positive Preliminary Reply. Command accepted but held awaiting a
commands may specify routes, not
further confirmation command (continue or abort).
merely addresses. A route would be
expressed in the form RCPT TO:
2xx: Positive Completion Reply. Command completed. Awaiting next com
.
mand.
Today this capability is rarely needed.
3xx: Positive Intermediate Reply. Command accepted but held awaiting
further information (such as a password).
Message Text
4xx: Transient Negative Completion Reply. Command not accepted due to
Once all the recipients have been
a temporary error condition (such as an HTTP server busy). The command
specified, all that remains is for the
may be tried again later.
sender to send the message itself. First
it sends the command DATA , and
5xx: Permanent Negative Completion Reply. Command not accepted due to
then waits for a reply like: 354 Start
a permanent error condition. The command is unlikely to be accepted if
mail input; end with .
repeated later.
. The message is then sent as
Second Digit
a succession of lines of text. No ac
knowledgement is received for each
x0x: Syntax Error. For example, command unimplemented or valid but
line, though the sender needs to watch
incorrect in the circumstances.
for a reply that indicates an error con
x1x: Information. The text following the code contains the answer to an
dition.
information request.
The end of the message is, as indi
cated by the reply shown above, a pe
x2x: Connections. Message reply relates to the communications channel.
riod (full stop) on a line of its own.
Thus, one of the simplest but most es
x5x: Server. Message reply relates to the state of the server.
sential things that a mail client must do
Third Digit
is ensure that a line containing a single
period does not appear in the actual
Used to distinguish individual messages.
text.
File: C04100.14
Issue 93 (March 1998) page 16
PC Network Advisor
< Next page >
New! The best sites for quality inkjet printer cartridges and the best sites for cheap inkjet cartridges