fix_whitespace_lines: Why does it NOT fix whitespace lines?

Mike Schleif mike at mdsresource.net
Thu May 26 17:26:23 CEST 2016


Please, advise.

What is "fix_whitespace_lines" intended to do?

Thank you.



On Wed, May 25, 2016 at 9:18 AM, Mike Schleif <mike at mdsresource.net> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20160526/02df1cb0/attachment.html>


More information about the amavis-users mailing list