Benny Pedersen wrote:
On Thu, May 8, 2008 23:19, mouss wrote:

configure postfix to replace previous ones
/^(X\-Envelope\-From:.*)/   REPLACE X-$1

envelope from can here be forged

the header check above will rewrite any such header received from the internet. so forgery is not an issue. to be clear, the rule rewrites:

X-Envelope-From   => X-X-Envelope-From

That said, I agree that Return-Path is a better choice.
better for postfix is to add

envelope_sender_header Return-Path
in local.cf

Reply via email to