Section 4.1.2 "COMMAND SYNTAX" of RFC 821
defines:
MAIL <SP> FROM:<reverse-path> <CRLF>
where (BNF notation):
<reverse-path> ::= <path>
<path> ::= "<" [ <a-d-l> ":" ] <mailbox> ">"
<local-part> ::= <dot-string> | <quoted-string>
<dot-string> ::= <string> | <string> "." <dot-string>
<domain> ::= <element> | <element> "." <domain>
The implication here is that the argument to the "MAIl FROM:" command
*MUST* be enclosed in "<" ">" (from the definition of <path>).
I know that anything between "<" ">" is considered the address, as in
but I've not (until now) come across a version of sendmail that
*insists* on "<" ">" surrounding the address when passed via "MAIl
FROM:".
For example:
Command Reply received : 501 Syntax error in originator address.
So, my questions are:
1. Is "<" ">" strictly required?
2. If so then does make versions of sendmail that don't enforce this
non-compliant with RFC 821?
Any views?
Thanks, Jonathan
--
---------------------------------------------------------------------------
Jonathan George - Hewlett-Packard Ltd, Pinewood