Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to log special Header in postfix log (/var/log/mail) ?

114 views
Skip to first unread message

smileyopp

unread,
Apr 8, 2012, 4:43:13 AM4/8/12
to
Hi all,

I have postfix running as a relay server. In normal configuration,
postfix does logging for "from" and "to" header. I would like postfix
to log additional extension header eg. X-Mms-Originator-System and X-
Mms-3GPP-MMS-Version as example below.

Does anyone have any idea how to log this kind of extension header in
postfix ?

Best regards,
SmileyOpp

Date: Thu, 9 Feb 2012 15:33:09 +0700 (ICT)

From: +66846462383/TYPE=PLMN

Sender: +66846462383/TYPE=PL...@grxmm4.happy.com

To: +66815843236/TYPE=PLMN,+66892072043/TYPE=PLMN,+66838471846/
TYPE=PLMN,+61434783265/TYPE=PLMN

Message-ID: <542269348.734.1328776389955.JavaMail.root@mms-cmz-01>

MIME-Version: 1.0

Content-Type: multipart/related; type="application/smil";
start="<hISVa>";

.boundary="----=_Part_34_1141875874.1328776389677"

X-Mms-Originator-System: m...@grxmm4.happy.com

X-Mms-3GPP-MMS-Version: 6.5.0

samue...@gmail.com

unread,
Apr 25, 2012, 10:20:47 AM4/25/12
to
Hello,

I want to do the same thing, did you find a solution?
Else, do you know how to get mail headers in the pickup "part" of Postfix?

Thanks a lot!
Samuel ROZE.
0 new messages