On Sat, May 24, 2014 at 07:16:07AM -0600, Nicholas Janzen wrote: > The real problem is when using mutt and mail, a command like this also gives > the error: mail -s subject [email protected], this of course works: > '<[email protected]> >
That's very strange, I have been using mutt daily for as long as OpenSMTPD exists and I have never ever ran into such an issue. As for mail, there's definitely something broken on your side because `mail` uses `sendmail` internally which should be a hardlink to `smtpctl` when OpenSMTPD gets installed ... and `smtpctl` never uses "FROM FROM: foo@bar", so at the very least your local enqueuer is incorrectly configured which probably explains mutt too. > > > 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: [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 > > -- > /-------------------------------------------------------------------------\ > | Nicholas Janzen Personal Site: http://obsd.com | > | Email: [email protected] 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 | > \-------------------------------------------------------------------------/ -- 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]
