Re: Empty from address confusing MTA/MUA

2013-07-18 Thread Christian Weisgerber
Martin Brandenburg wrote: > I thought it would be appropriate to change OpenSMTPD to reject empty > addresses; however, line 1513 of smtp_session.c specifically accepts > empty addresses. What is the use case of that? Error replies. If the error message cannot be delivered, it will not trigger

Re: Empty from address confusing MTA/MUA

2013-07-18 Thread Martin Brandenburg
On Thu, Jul 18, 2013 at 07:37:41PM +0200, Gilles Chehade wrote: > Empty envelope addresses are ... deferred bounces (mailer-daemons), so > yes they should definitely be accepted ;-) Ah, of course. > What version of OpenBSD / OpenSMTPD are you using ? > > We fixed the issue in mid-May before the

Re: Empty from address confusing MTA/MUA

2013-07-18 Thread Gilles Chehade
On Thu, Jul 18, 2013 at 05:12:07PM +, Martin Brandenburg wrote: > Hello, > Hi, > [...] > > I thought it would be appropriate to change OpenSMTPD to reject empty > addresses; however, line 1513 of smtp_session.c specifically accepts > empty addresses. What is the use case of that? Does the R

Empty from address confusing MTA/MUA

2013-07-18 Thread Martin Brandenburg
Hello, I find that messages (usually spam) find their way into mbox files with no from address (below), which confuses many programs needing to parse them (mail(1) and fetchmail at least, not mutt though). mail(1) sees the second From and its message as part of the message preceding it. Fr