Feature request: Subject column within Tracking Center

Falks

New Member
Sep 24, 2024
5
0
1
With PMG 9.1 we can log subjects with "Log Header information". But it's very exhausting to look each of them up in the WebGUI.

If we had a subject column, it would be easy to see a bunch of mails with the identical subjects that are passing through the spam filter. And then create a nice RegEx to stop them. Fast and simple.


I understand your security concern that we (the administrators) could see something sensitive in the subject. But I would guess that most of us are administrating the servers, the virtual machines, Postfix, Exchange and we have other methods to get the full content of every mail.

If someone knows how to change PMG to show a subject column within the Tracking Center, please share what we would need to change. Thank you in advance!
 
I have activated the function but cannot find the logged information anywhere.
Any idea how to find the header information of a mail?
 
I have activated the function but cannot find the logged information anywhere.
Any idea how to find the header information of a mail?

Go to "Tracking Center", then click on plus-symbol left of a mail.

One of the row will show something like that:

2026-06-24T19:30:16.208403+02:00 pmg-domain-01 pmg-smtp-filter[111091]: 2A3636A3C142831570: mail-headers envelope-from=<607_37956@bp-school.ac.th> envelope-to=<givenname.surname@domain.example> from="Richard-Wahl-Stiftung <607_37956@bp-school.ac.th> " to="givenname.surname@domain.example " subject="Herzlichen Gluckwunsch: Sie wurden ausgewahlt, eine grobzugige Spende zu erhalten. "

But if you just now activated the "Log Header information", you'll need to look up only new mails. Old mails will not get that information retrospectively.
 
Configuration -> Mail Proxy -> Options -> "Log Header Information" = yes

Code:
pmgconfig sync --restart 1

Still no header information, even for new mail
2026-06-24T19:34:05.498890+00:00 mx postfix/smtpd[115265]: connect from mout.gmx.net[212.227.17.21]
2026-06-24T19:34:06.542103+00:00 mx postfix/smtpd[115265]: NOQUEUE: client=mout.gmx.net[212.227.17.21]
2026-06-24T19:34:06.653688+00:00 mx pmg-smtp-filter[113255]: 203746A3C312E9DC85: new mail message-id=<8bcb83da-69dc-4486-aeab-2d020c06382e@gmx.de>
2026-06-24T19:34:11.732080+00:00 mx pmg-smtp-filter[113255]: 203746A3C312E9DC85: SA score=0/5 time=3.649 bayes=undefined autolearn=disabled hits=CustomCheck(-0.8),BODY_SINGLE_WORD(0.001),DKIM_SIGNED(0.1),DKIM_VALID(-0.1),DKIM_VALID_AU(-0.1),DKIM_VALID_EF(-0.1),FREEMAIL_FROM(0.001),LOCAL_DE_DOMAIN(-2),MIME_HTML_ONLY(0.1),RCVD_IN_DNSWL_LOW(-0.7),RCVD_IN_MSPIKE_H4(0.001),RCVD_IN_MSPIKE_WL(0.001),RELAYCOUNTRY_GOOD_DE(-3),SERIOUS_FREEMAILER(-6)
2026-06-24T19:34:11.747022+00:00 mx postfix/smtpd[115293]: connect from localhost[127.0.0.1]
2026-06-24T19:34:11.755859+00:00 mx postfix/smtpd[115293]: B872C203CD: client=localhost[127.0.0.1], orig_client=mout.gmx.net[212.227.17.21]
2026-06-24T19:34:11.756975+00:00 mx postfix/cleanup[115294]: B872C203CD: message-id=<8bcb83da-69dc-4486-aeab-2d020c06382e@gmx.de>
2026-06-24T19:34:11.800361+00:00 mx postfix/qmgr[89876]: B872C203CD: from=<xxx@gmx.de>, size=7941, nrcpt=1 (queue active)
2026-06-24T19:34:11.800519+00:00 mx postfix/smtpd[115293]: disconnect from localhost[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
2026-06-24T19:34:11.800589+00:00 mx pmg-smtp-filter[113255]: 203746A3C312E9DC85: accept mail to <mail@xxx.de> (B872C203CD) (rule: default-accept)
2026-06-24T19:34:11.808826+00:00 mx pmg-smtp-filter[113255]: 203746A3C312E9DC85: processing time: 5.153 seconds (3.649, 0.044, 1.379)
2026-06-24T19:34:11.809763+00:00 mx postfix/smtpd[115265]: proxy-accept: END-OF-MESSAGE: 250 2.5.0 OK (203746A3C312E9DC85); from=<xxx@gmx.de> to=<mail@xxx.de> proto=ESMTP helo=<mout.gmx.net>
2026-06-24T19:34:11.821251+00:00 mx postfix/smtpd[115265]: disconnect from mout.gmx.net[212.227.17.21] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
2026-06-24T19:34:12.033764+00:00 mx postfix/smtp[115295]: Trusted TLS connection established to w020687e.kasserver.com[85.13.167.158]:587: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
2026-06-24T19:34:12.259862+00:00 mx postfix/smtp[115295]: B872C203CD: to=<mail@xxx.de>, relay=w020687e.kasserver.com[85.13.167.158]:587, delay=0.51, delays=0.05/0.03/0.23/0.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 16285ACA2AD0)
2026-06-24T19:34:12.260491+00:00 mx postfix/qmgr[89876]: B872C203CD: removed
 
Last edited:
Configuration -> Mail Proxy -> Options -> "Log Header Information" = yes

Code:
pmgconfig sync --restart 1

Still no header information, even for new mail
2026-06-24T19:34:05.498890+00:00 mx postfix/smtpd[115265]: connect from mout.gmx.net[212.227.17.21]
2026-06-24T19:34:06.542103+00:00 mx postfix/smtpd[115265]: NOQUEUE: client=mout.gmx.net[212.227.17.21]
2026-06-24T19:34:06.653688+00:00 mx pmg-smtp-filter[113255]: 203746A3C312E9DC85: new mail message-id=<8bcb83da-69dc-4486-aeab-2d020c06382e@gmx.de>
2026-06-24T19:34:11.732080+00:00 mx pmg-smtp-filter[113255]: 203746A3C312E9DC85: SA score=0/5 time=3.649 bayes=undefined autolearn=disabled hits=CustomCheck(-0.8),BODY_SINGLE_WORD(0.001),DKIM_SIGNED(0.1),DKIM_VALID(-0.1),DKIM_VALID_AU(-0.1),DKIM_VALID_EF(-0.1),FREEMAIL_FROM(0.001),LOCAL_DE_DOMAIN(-2),MIME_HTML_ONLY(0.1),RCVD_IN_DNSWL_LOW(-0.7),RCVD_IN_MSPIKE_H4(0.001),RCVD_IN_MSPIKE_WL(0.001),RELAYCOUNTRY_GOOD_DE(-3),SERIOUS_FREEMAILER(-6)
2026-06-24T19:34:11.747022+00:00 mx postfix/smtpd[115293]: connect from localhost[127.0.0.1]
2026-06-24T19:34:11.755859+00:00 mx postfix/smtpd[115293]: B872C203CD: client=localhost[127.0.0.1], orig_client=mout.gmx.net[212.227.17.21]
2026-06-24T19:34:11.756975+00:00 mx postfix/cleanup[115294]: B872C203CD: message-id=<8bcb83da-69dc-4486-aeab-2d020c06382e@gmx.de>
2026-06-24T19:34:11.800361+00:00 mx postfix/qmgr[89876]: B872C203CD: from=<xxx@gmx.de>, size=7941, nrcpt=1 (queue active)
2026-06-24T19:34:11.800519+00:00 mx postfix/smtpd[115293]: disconnect from localhost[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
2026-06-24T19:34:11.800589+00:00 mx pmg-smtp-filter[113255]: 203746A3C312E9DC85: accept mail to <mail@xxx.de> (B872C203CD) (rule: default-accept)
2026-06-24T19:34:11.808826+00:00 mx pmg-smtp-filter[113255]: 203746A3C312E9DC85: processing time: 5.153 seconds (3.649, 0.044, 1.379)
2026-06-24T19:34:11.809763+00:00 mx postfix/smtpd[115265]: proxy-accept: END-OF-MESSAGE: 250 2.5.0 OK (203746A3C312E9DC85); from=<xxx@gmx.de> to=<mail@xxx.de> proto=ESMTP helo=<mout.gmx.net>
2026-06-24T19:34:11.821251+00:00 mx postfix/smtpd[115265]: disconnect from mout.gmx.net[212.227.17.21] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
2026-06-24T19:34:12.033764+00:00 mx postfix/smtp[115295]: Trusted TLS connection established to w020687e.kasserver.com[85.13.167.158]:587: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
2026-06-24T19:34:12.259862+00:00 mx postfix/smtp[115295]: B872C203CD: to=<mail@xxx.de>, relay=w020687e.kasserver.com[85.13.167.158]:587, delay=0.51, delays=0.05/0.03/0.23/0.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 16285ACA2AD0)
2026-06-24T19:34:12.260491+00:00 mx postfix/qmgr[89876]: B872C203CD: removed
You are at -->Administration --> Syslog. Wrong place.

Go to "Tracking Center", then click on plus-symbol left of a mail.
 
I did a whole machine restart.
Now i see the mail header.
I don't know what daemon had to be restarted.