On Fri, May 08, 2015 at 01:48:38PM -0600, Todd C. Miller wrote:
> 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.
> 

Postfix also does this in src/sendmail/sendmail.c

I have committed a fix for the issue based on what you suggested.


-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

Reply via email to