On Fri, May 23, 2014 at 02:17:51PM -0600, Nicholas Janzen wrote:
> I'm really looking forward to the new OpenSMTP included in OpenBSD. 
> 
> I'm having an issue with both the "mail" program and inbound SMTP both give 
> the same error
> 
> Is there a way for it accept: [email protected] in addition to: <[email protected]> ?
> 

Why would you want to do that ?
It violates RFC 5321 which explicitely states that:

   Reverse-path   = Path / "<>"
   Forward-path   = Path
   Path           = "<" [ A-d-l ":" ] Mailbox ">"

and

   mail = "MAIL FROM:" Reverse-path CRLF
   rcpt = "RCPT TO:" ( "<Postmaster@" Domain ">" / "<Postmaster>" / 
Forward-path ) [SP Rcpt-parameters] CRLF

If anything not only we should disallow:

   MAIL FROM: [email protected]

But we should also disallow:

   MAIL FROM: <[email protected]>

As space is not allowed between ':' and '<'

This is not about being rfc pedantic but about preventing people from
writing broken SMTP code because we're too permissive and tolerant with
protocol error.

What is the real problem that has prompted you to ask this question ?

-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to