Results 1 to 1 of 1
Hi..... 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-01-2006 #1
- Join Date
- May 2005
How to Log Extra Header Field in Sendmail maillog Linux
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.
Received: from mx-out.daemonmail.net (mx-out.daemonmail.net [184.108.40.206])
by mx2.daemonmail.net (Postfix) with ESMTP id 606CE12D6AC
for <firstname.lastname@example.org>; Tue, 28 Feb 2006 21:43:03 -0800 (PST)
Received: from localhost.daemonmail.net (localhost.daemonmail.net [127.0.0.1])
by mx-out.daemonmail.net (8.13.1/8.12.9) with SMTP id k215h2iA001907
for <email@example.com>; Tue, 28 Feb 2006 21:43:02 -0800 (PST)
Received: from [220.127.116.11] (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 <firstname.lastname@example.org>
This is my header.I want to log 'X-CardNo:7CV2635463' in the sendmail maillog file.how to do that.plz help.