Discussion:
fix_whitespace_lines: Why does it NOT fix whitespace lines?
(too old to reply)
Mike Schleif
2016-05-25 14:18:10 UTC
Permalink
postfix 2.10.1

Why are we getting the following error on some outgoing replies?
"Improper folded header field made up entirely of whitespace"

# grep fix_w /usr/sbin/amavisd
my($fix_whitespace_lines, $fix_long_header_lines, $fix_bare_cr) = (0,0,0);
$fix_whitespace_lines = 1 if
c('allow_fixing_improper_header_folding');
$fix_whitespace_lines = 1; # fix MIME::Entity artifacts
last if !$fix_whitespace_lines || $next_head !~ /^[ \t]*\n\z/s;
if ($fix_whitespace_lines) { # unfold illegal all-whitespace lines

# grep fix_w /etc/amavisd/amavisd.conf
... EMPTY ...

What am I missing?

~ Mike
Mike Schleif
2016-05-26 15:26:23 UTC
Permalink
Please, advise.

What is "fix_whitespace_lines" intended to do?

Thank you.
Post by Mike Schleif
postfix 2.10.1
Why are we getting the following error on some outgoing replies?
"Improper folded header field made up entirely of whitespace"
# grep fix_w /usr/sbin/amavisd
my($fix_whitespace_lines, $fix_long_header_lines, $fix_bare_cr) =
(0,0,0);
$fix_whitespace_lines = 1 if
c('allow_fixing_improper_header_folding');
$fix_whitespace_lines = 1; # fix MIME::Entity artifacts
last if !$fix_whitespace_lines || $next_head !~ /^[ \t]*\n\z/s;
if ($fix_whitespace_lines) { # unfold illegal all-whitespace lines
# grep fix_w /etc/amavisd/amavisd.conf
... EMPTY ...
What am I missing?
~ Mike
Mike Schleif
2016-05-27 15:35:51 UTC
Permalink
What is "fix_whitespace_lines" intended to do?

What am I missing?
Post by Mike Schleif
Please, advise.
What is "fix_whitespace_lines" intended to do?
Thank you.
Post by Mike Schleif
postfix 2.10.1
Why are we getting the following error on some outgoing replies?
"Improper folded header field made up entirely of whitespace"
# grep fix_w /usr/sbin/amavisd
my($fix_whitespace_lines, $fix_long_header_lines, $fix_bare_cr) =
(0,0,0);
$fix_whitespace_lines = 1 if
c('allow_fixing_improper_header_folding');
$fix_whitespace_lines = 1; # fix MIME::Entity artifacts
last if !$fix_whitespace_lines || $next_head !~ /^[ \t]*\n\z/s;
if ($fix_whitespace_lines) { # unfold illegal all-whitespace
lines
# grep fix_w /etc/amavisd/amavisd.conf
... EMPTY ...
What am I missing?
~ Mike
Mike Schleif
2016-05-31 13:02:07 UTC
Permalink
What do I have to do to understand what "fix_whitespace_lines" is intended
to do?

In our case, it does NOT "fix whitespace lines" ...

Please, advise. Thank you.

~ Mike
Post by Mike Schleif
What is "fix_whitespace_lines" intended to do?
What am I missing?
Post by Mike Schleif
Please, advise.
What is "fix_whitespace_lines" intended to do?
Thank you.
Post by Mike Schleif
postfix 2.10.1
Why are we getting the following error on some outgoing replies?
"Improper folded header field made up entirely of whitespace"
# grep fix_w /usr/sbin/amavisd
my($fix_whitespace_lines, $fix_long_header_lines, $fix_bare_cr) =
(0,0,0);
$fix_whitespace_lines = 1 if
c('allow_fixing_improper_header_folding');
$fix_whitespace_lines = 1; # fix MIME::Entity artifacts
last if !$fix_whitespace_lines || $next_head !~ /^[ \t]*\n\z/s;
if ($fix_whitespace_lines) { # unfold illegal all-whitespace
lines
# grep fix_w /etc/amavisd/amavisd.conf
... EMPTY ...
What am I missing?
~ Mike
Mike Schleif
2016-06-03 16:10:43 UTC
Permalink
Is this message making it to the list?

I have not received any response

Please, advise. Thank you.
Post by Mike Schleif
What do I have to do to understand what "fix_whitespace_lines" is
intended to do?
In our case, it does NOT "fix whitespace lines" ...
Please, advise. Thank you.
~ Mike
Post by Mike Schleif
What is "fix_whitespace_lines" intended to do?
What am I missing?
Post by Mike Schleif
Please, advise.
What is "fix_whitespace_lines" intended to do?
Thank you.
Post by Mike Schleif
postfix 2.10.1
Why are we getting the following error on some outgoing replies?
"Improper folded header field made up entirely of whitespace"
# grep fix_w /usr/sbin/amavisd
my($fix_whitespace_lines, $fix_long_header_lines, $fix_bare_cr) =
(0,0,0);
$fix_whitespace_lines = 1 if
c('allow_fixing_improper_header_folding');
$fix_whitespace_lines = 1; # fix MIME::Entity artifacts
last if !$fix_whitespace_lines || $next_head !~ /^[ \t]*\n\z/s;
if ($fix_whitespace_lines) { # unfold illegal all-whitespace
lines
# grep fix_w /etc/amavisd/amavisd.conf
... EMPTY ...
What am I missing?
~ Mike
Mike Schleif
2016-06-03 12:46:16 UTC
Permalink
I am quite frustrated. Why have I not received even one response to this
question?

Somebody tell me that this message shows in the list?
Post by Mike Schleif
What do I have to do to understand what "fix_whitespace_lines" is
intended to do?
In our case, it does NOT "fix whitespace lines" ...
Please, advise. Thank you.
~ Mike
Post by Mike Schleif
What is "fix_whitespace_lines" intended to do?
What am I missing?
Post by Mike Schleif
Please, advise.
What is "fix_whitespace_lines" intended to do?
Thank you.
Post by Mike Schleif
postfix 2.10.1
Why are we getting the following error on some outgoing replies?
"Improper folded header field made up entirely of whitespace"
# grep fix_w /usr/sbin/amavisd
my($fix_whitespace_lines, $fix_long_header_lines, $fix_bare_cr) =
(0,0,0);
$fix_whitespace_lines = 1 if
c('allow_fixing_improper_header_folding');
$fix_whitespace_lines = 1; # fix MIME::Entity artifacts
last if !$fix_whitespace_lines || $next_head !~ /^[ \t]*\n\z/s;
if ($fix_whitespace_lines) { # unfold illegal all-whitespace
lines
# grep fix_w /etc/amavisd/amavisd.conf
... EMPTY ...
What am I missing?
~ Mike
Admin Beckspaced
2016-06-03 17:20:49 UTC
Permalink
hello mike,

actually i do not have an answer to your question!

but i just want to let you know that your message shows up in the list ;)

greetings
becki
Post by Mike Schleif
I am quite frustrated. Why have I not received even one response to
this question?
Somebody tell me that this message shows in the list?
What do I have to do to understand what "fix_whitespace_lines" is
intended to do?
In our case, it does NOT "fix whitespace lines" ...
Please, advise. Thank you.
~ Mike
What is "fix_whitespace_lines" intended to do?
What am I missing?
On Thu, May 26, 2016 at 10:26 AM, Mike Schleif
Please, advise.
What is "fix_whitespace_lines" intended to do?
Thank you.
On Wed, May 25, 2016 at 9:18 AM, Mike Schleif
postfix 2.10.1
Why are we getting the following error on some
outgoing replies?
"Improper folded header field made up entirely of
whitespace"
# grep fix_w /usr/sbin/amavisd
my($fix_whitespace_lines, $fix_long_header_lines,
$fix_bare_cr) = (0,0,0);
$fix_whitespace_lines = 1 if
c('allow_fixing_improper_header_folding');
$fix_whitespace_lines = 1; # fix MIME::Entity artifacts
last if !$fix_whitespace_lines || $next_head !~ /^[
\t]*\n\z/s;
if ($fix_whitespace_lines) { # unfold illegal
all-whitespace lines
# grep fix_w /etc/amavisd/amavisd.conf
... EMPTY ...
What am I missing?
~ Mike
Simon B
2016-06-03 16:40:54 UTC
Permalink
Post by Mike Schleif
I am quite frustrated. Why have I not received even one response to this
question?
Post by Mike Schleif
Somebody tell me that this message shows in the list?
It shows.

It's outside of my technical scope.

But a quick Google on my phone shows that similar questions were asked in
2007, 2009, 2013 and 2014..

Maybe one of them might help.

Simon
Post by Mike Schleif
Post by Mike Schleif
What do I have to do to understand what "fix_whitespace_lines" is
intended to do?
Post by Mike Schleif
Post by Mike Schleif
In our case, it does NOT "fix whitespace lines" ...
Please, advise. Thank you.
~ Mike
Post by Mike Schleif
What is "fix_whitespace_lines" intended to do?
What am I missing?
Post by Mike Schleif
Please, advise.
What is "fix_whitespace_lines" intended to do?
Thank you.
Post by Mike Schleif
postfix 2.10.1
Why are we getting the following error on some outgoing replies?
"Improper folded header field made up entirely of whitespace"
# grep fix_w /usr/sbin/amavisd
my($fix_whitespace_lines, $fix_long_header_lines, $fix_bare_cr) =
(0,0,0);
Post by Mike Schleif
Post by Mike Schleif
Post by Mike Schleif
Post by Mike Schleif
Post by Mike Schleif
$fix_whitespace_lines = 1 if
c('allow_fixing_improper_header_folding');
Post by Mike Schleif
Post by Mike Schleif
Post by Mike Schleif
Post by Mike Schleif
Post by Mike Schleif
$fix_whitespace_lines = 1; # fix MIME::Entity artifacts
last if !$fix_whitespace_lines || $next_head !~ /^[
\t]*\n\z/s;
Post by Mike Schleif
Post by Mike Schleif
Post by Mike Schleif
Post by Mike Schleif
Post by Mike Schleif
if ($fix_whitespace_lines) { # unfold illegal all-whitespace
lines
Post by Mike Schleif
Post by Mike Schleif
Post by Mike Schleif
Post by Mike Schleif
Post by Mike Schleif
# grep fix_w /etc/amavisd/amavisd.conf
... EMPTY ...
What am I missing?
~ Mike
Continue reading on narkive:
Loading...