The real problem is when using mutt and mail, a command like this also gives the error: mail -s subject n...@test.com, this of course works: '<n...@test.com>'
On Sat, May 24, 2014 at 01:43:02PM +0200, Gilles Chehade wrote: > 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: n...@test.com in addition to: <n...@test.com> > > ? > > > > 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: f...@bar.com > > But we should also disallow: > > MAIL FROM: <f...@bar.com> > > 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 -- /-------------------------------------------------------------------------\ | Nicholas Janzen Personal Site: http://obsd.com | | Email: n...@obsd.com Security Site: http://secure6.net | | VE6OBS VE6TS (Basic+Advanced) Weather Site: http://nicholasjanzen.ca| | Short URL's: http://clearurl.net/ Balloon Site: http://arawr.ca | \-------------------------------------------------------------------------/ -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org