Re: SMTP behavior: 553 5.5.2 Bad command format(h)

2004-04-01 Thread Simon Lockhart

On Wed Mar 31, 2004 at 05:16:41PM -0600, Miguel Mata-Cardona wrote:
> WTF? can anyone please explain me why must I enclose my 
> address between the "<>"?

Because the RFC says you should. Even back in RFC821 this was the
case:

MAIL  FROM: 

 ::= 

 ::= "<" [  ":" ]  ">"

Simon
-- 
Simon Lockhart |   Tel: +44 (0)1628 407720 (x(01)37720) | Si fractum 
Technology Manager |   Fax: +44 (0)1628 407701 (x(01)37701) | non sit, noli 
BBC Internet Ops   | Email: [EMAIL PROTECTED]| id reficere
BBC Technology, Maiden House, Vanwall Road, Maidenhead. SL6 4UB. UK



Re: SMTP behavior: 553 5.5.2 Bad command format(h)

2004-03-31 Thread Steven M. Bellovin

In message <[EMAIL PROTECTED]>, S
cott Call writes:
>
>On Wed, 31 Mar 2004, Miguel Mata-Cardona wrote:
>
>>
>> WTF? can anyone please explain me why must I enclose my
>> address between the "<>"?
>
>http://www.faqs.org/rfcs/rfc2821.html
>
>
Yup -- that's what the spec says.  See, in particular, 4.1.1.2, which 
gives the syntax of the MAIL FROM: command, and 4.1.2, which gives the 
syntax of a Reverse-path.

There are some SMTP servers which don't require the <>, but they're 
being generous -- they've always been required.

--Steve Bellovin, http://www.research.att.com/~smb




Re: SMTP behavior: 553 5.5.2 Bad command format(h)

2004-03-31 Thread Scott Call

On Wed, 31 Mar 2004, Miguel Mata-Cardona wrote:

>
> WTF? can anyone please explain me why must I enclose my
> address between the "<>"?

http://www.faqs.org/rfcs/rfc2821.html