Hi,

I've got a milter that, as part of the job, adds an X-Test-Tracking header
with a 76 char length string.
Then, in postfix, i've got a milter_header_checks which uses WARN to log
this to logs, like:
/^X-Test-Tracking/ WARN
I've noticed that it only logs the first 43 chars.
In example the header added is:
X-Test-Tracking:
MTY3ODM4OTcxOS40MDMyMTIzLTAxNWIzMjRlLTdlNWEtNDQ0ZC05MzRhLWVlMDUzZTMxNDgxMA==
And the logs shows it as:
Mar  9 19:21:59 smtp1 postfix/cleanup[3497349]: 4PXfFM2XQYz45TTK:
milter-header-warning: header X-Test-Tracking:
MTY3ODM4OTcxOS40MDMyMTIzLTAxNWIzMjRlLTdlNWE from unknown[127.0.0.1];
from=<redacted> to=<redacted> proto=ESMTP helo=<redacted>:

Whereas when i use the WARN method in header_checks it logs the full
header. As this header is added in milter I can't use header_checks.

I couldn't find any information about differences of WARN / header length
logged in milter_header_checks vs header_checks.

Is there a way to actually log the full header in this case through postfix?

Thanks
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to