Hi Jaroslaw,

Thank you for your suggestion.

I've indeed explored the option of adjusting the limits in the code, and I've 
been maintaining a patched version for my specific needs for quite some time 
now. However, I've also encountered others who faced similar challenges and 
found the patched version useful.

While this approach works, having this feature as a configurable option in the 
upstream codebase would significantly simplify the process for users with 
similar requirements. It would make Postfix more adaptable to various use cases 
without the need for manual adjustments and custom builds.

I appreciate your input and encourage discussions that contribute to the 
improvement of open-source projects like Postfix.

Best regards,
Matthias Schneider

----- Ursprüngliche Mail -----
Von: "Jaroslaw Rafa via Postfix-users" <postfix-users@postfix.org>
An: "postfix-users" <postfix-users@postfix.org>
Gesendet: Mittwoch, 24. Januar 2024 12:18:54
Betreff: [pfx] Re: Feature Request: Adjustable Header Log Size Limit in 
INFO/WARN/REJECT Header_Check

Dnia 24.01.2024 o godz. 08:20:33 Matthias Schneider via Postfix-users pisze:
> 
> Upon reviewing the code, it appears there are only one limit on
> vstring_sprintf, three limits on msg_info in the code, whereas the rest of
> the %.200s limits are present on msg_warn lines. My request stems from
> the need to log more comprehensive information, such as
> Authentication-Results headers or DKIM Signatures, which often exceed the
> current 200-character limit. ( they header key 'Authentication-Results: '
> is using 24 chars already)

If you found the limits in the code, just change them to a value that suits
you and rebuild Postfix for yourself.

It's one of the advantages of being open source, anyway.
-- 
Regards,
   Jaroslaw Rafa
   r...@rafa.eu.org
--
"In a million years, when kids go to school, they're gonna know: once there
was a Hushpuppy, and she lived with her daddy in the Bathtub."
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to