Stephane(_dot_)Bortzmeyer(_at_)globenet(_dot_)org (Stephane Bortzmeyer) writes:
The problem is that procmail only know the headers, not the envelope.
Hence, formail cannot generate a proper reply: it could send the message to
a whole mailing list if Reply-To is set!
Only sendmail knows the envelope (MAIL FROM). Or you have to convince
sendmail to pass it to procmail.
Actually, the envelope sender address should appear in either the
Return-Path: header or the "From " pseudo-header. It's the envelope
_recipient_ address that is not normally availible.