Re: Add X-Envelope From/To into incoming mail

2009-02-12 Thread Sahil Tandon
On Thu, 12 Feb 2009, Petr Hude?ek wrote: > I need add X-Envelope From: and X-Envelope To: into incoming mail from > envelope mail, no from head mail! I use Postfix and procmail. Can you help > me, please? Would Return-Path: and X-Original-To: suffice? Postfix adds these headers by default. --

Re: Add X-Envelope From/To into incoming mail

2009-02-12 Thread John Villalovos
On Thu, Feb 12, 2009 at 7:10 AM, Petr Hudeček wrote: > Hi everybody! > I need add X-Envelope From: and X-Envelope To: into incoming mail from > envelope mail, no from head mail! I use Postfix and procmail. Can you help > me, please? I believe by default there is an: X-Original-To header which

Re: Add X-Envelope From/To into incoming mail

2009-02-12 Thread Victor Duchovni
On Thu, Feb 12, 2009 at 07:18:56AM -0500, Wietse Venema wrote: > /etc/postfix/sender_access: >/(.*)/ prepend X-Envelope-From: <$1> > > /etc/postfix/check_recipient_access: >/(.*)/ prepend X-Envelope-To: <$1> > > Beware, this breaks the privacy of BCC recipients. Note also that the add

Re: Add X-Envelope From/To into incoming mail

2009-02-12 Thread Wietse Venema
Petr Hude?ek: > Hi everybody! > I need add X-Envelope From: and X-Envelope To: into incoming mail from > envelope mail, no from head mail! I use Postfix and procmail. Can you help > me, please? Use PREPEND actions in access maps. http://www.postfix.org/SMTPD_ACCESS_README.5.html http://www.post

Add X-Envelope From/To into incoming mail

2009-02-12 Thread Petr Hudeček
Hi everybody! I need add X-Envelope From: and X-Envelope To: into incoming mail from envelope mail, no from head mail! I use Postfix and procmail. Can you help me, please?