On Sat, Jan 26, 2019 at 08:53:06PM -0700, Steve Williams wrote: > Hi, > > I upgraded from OpenBSD 6.3 to OpenBSD 6.4 today.?? I upgraded all packages, > switched to php7, etc. > > I've been running OpenBSD since 2.7 so this is a very known process. > > The upgrade went quite smoothly and is working fine except for my email.?? I > have massaged the smtpd.conf file to comply with the OpenBSD 6.4 grammar. > > I run a VERY simple smtpd configuration saving in mbox format. > > I am also using procmail to direct emails into various folders, launched > with a .forward.?? This has been working since about 2005 :), historically > with sendmail and more recently, smtpd. > > Unfortunately, email is being written to both my INBOX and the procmail the > folders **incorrectly** post upgrade. > > They are all missing the "From " line that is supposed to indicate the start > of a new email message. > > It seems like the email is being passed "raw" to procmail without being > processed by "mail.local" ... or that's my interpretation. >
you need to tweak your procmail's command so it adds the From delimiter, there's an option for that. smtpd used to add the From delimiter for mda, which allowed procmail not to require that option, however this wasn't correct and when we made the mda improvements between 6.3 and 6.4, it became impossible to accomodate procmail without introducing special cases and ugly hacks such as having explicit search for the string 'procmail' in .forward files. it wasn't worth it when people can just pass procmail an option. also don't use procmail, it's trash and there are far better options for you to use today, fdm being the first to come to mind :-) -- Gilles Chehade @poolpOrg https://www.poolp.org tip me: https://paypal.me/poolpOrg