I want to Log extra field that I am passing in the sendmail header as X-CardNo.
I want to log that field in the sendmail maillog.Is there any way to do so.Wht would be the configuration for that to customize the maillog as per my need.
I'm sending the sample header.
Return-Path: <jyoti.shekhar@itlindia.com>
X-Original-To: jyoti.shekhar@itlindia.com
Received: from mx-out.daemonmail.net (mx-out.daemonmail.net [])
by mx2.daemonmail.net (Postfix) with ESMTP id 606CE12D6AC
for <jyoti.shekhar@itlindia.com>; Tue, 28 Feb 2006 21:43:03 -0800 (PST)
Received: from localhost.daemonmail.net (localhost.daemonmail.net [])
by mx-out.daemonmail.net (8.13.1/8.12.9) with SMTP id k215h2iA001907
for <jyoti.shekhar@itlindia.com>; Tue, 28 Feb 2006 21:43:02 -0800 (PST)
(envelope-from jyoti.shekhar@itlindia.com)
Received: from [] (via account 5839)
by mx-out.daemonmail.net with ESMTP id RU00tUD0
authenticated by POP; Tue, 28 Feb 2006 21:42:59 -0800 (PST)
Date: Wed, 1 Mar 2006 11:18:16 +0530
From: jyoti <jyoti.shekhar@itlindia.com>
Message-ID: <501384500.20060301111816@itlindia.com>
To: jyoti.shekhar@itlindia.com
Subject: hi
X-CardNo: 7CV2635463

This is my header.I want to log 'X-CardNo:7CV2635463' in the sendmail maillog file.how to do that.plz help.
It's orgent.