v3.5.7 fails to reconstruct long header

Bug #1894974 reported by Neta Solomon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
postfix
New
Undecided
Unassigned

Bug Description

When postfix MTA agent receives a mail with header exceeding the line_length_limit param (default 2048), it fails to reconstruct the header upon delivery.
According to documentation:
"line_length_limit (default: 2048) Upon input, long lines are chopped up into pieces of at most this length; upon delivery, long lines are reconstructed."

It seems there is a degradation in ver 3.5.X that the header is not properly reconstructed, so that a new empty line is added after reaching limit length, thus the receiving MTA parse it as if the header section is completed (and a garbage in primary header received).

ver 3.4.X does not suffer from this issue.

Attached debug files:
postconfXXX files with the configuration
test_long.eml file with the sent message for reproduction. It contain header with 2049 length.
v3.X.X directories for latest and previous versions. Each directory contain: pcap, log output and delivered message.

Thanks

Revision history for this message
Neta Solomon (netasolomom) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.