Can i add this in main.cf?

I want to add the extra details only for the forward maps. 

Can you give me some more info on ow to add this ?.

Regards,
Shameem

--- On Mon, 2/22/10, Bas Mevissen <ab...@basmevissen.nl> wrote:

> From: Bas Mevissen <ab...@basmevissen.nl>
> Subject: Re: Add extra headers when forwarding
> To: "Shameem Ahamed" <shameem.aha...@yahoo.com>
> Cc: postfix-us...@cloud9.net
> Date: Monday, February 22, 2010, 10:43 PM
> On Mon, 2010-02-22 at 22:28 +0530,
> Shameem Ahamed wrote:
> > Hi All,
> > 
> > I have one postfix mail server, and a forward server.
> The mail server accepts all the mails, and forwards mails to
> the forward server if the mail is a forward.
> > 
> > Currently, when the postfix forwards the mails to the
> forward server it is not adding any headers for the e-mail
> for which it forwards. 
> >  
> > I want to add extra headers to mail header when there
> is a mail forward. Precisely, I want to add the e-mail id
> for which the forward happens.
> > 
> > Is there any way to add those details to the e-mail
> headers.
> 
> You could use a procmail rule to add an extra header with
> formail:
> 
> :0 fw:
> | formail -A "X-Mail-Tracking: $logn...@$host forwarded"
> 
> Bas.
> 
> 
> 



Reply via email to