On Fri, 08 May 2015 12:12:46 +0200, Gilles Chehade wrote: > Now the problem is that if the .forward references a "|/path" it forks > a mda (which prepends From), and if mda is sendmail then... it ends up > calling mail.local which prepends From again. > > I think the proper fix is to reconsider the prepend in the mda case. > If procmail requires custom config, so be it.
I think you always need the From for pipes in .forward since that is what sendmail has always done. It looks like real sendmail will strip off a Unix-style From line but smtpctl invoked as sendmail does not. It might be worth investigating what postfix does. - todd
