Mon, 5 Nov 2001 11:49:09 -0700
|
On Mon, 5 Nov 2001 10:43:25 -0600, Andrew Bosch <[log in to unmask]> wrote:
>Is it RFC compliant for a mail server to respond with a 5xx message after the DATA
>command has been completed?
In the case below, yes. Your message is not RFC822 compliant in structure and
the remote mail server is (rightly) objecting to this.
>250 - <Welcome message>
>helo <my mail server hostname>
>250 - <mail server hostname> - <my mail server hostname>
>mail from: "My name" <my address>
simply MAIL FROM:<user@address>
>250 OK
>rcpt to: "User's name" <User's address>
simply RCPT TO:<user2@address>
>250 OK
>DATA
>354 Send data message
The message must be fully formed per RFC822, which includes the below headers
(all but Subject: are required for all email messages).
Date: Mon, 5 Nov 2001 10:43:25 -0600
From: "My name" <my address>
To: "User's name" <User's address>
Subject: something here
message text here
>Test message text.
>.
>561 No RFC822 Headers
>quit
>
>Is this mail server broken?
>
|
|
|