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