<p dir="ltr"><br>
On 3 Jun 2016 20:26, "Mike Schleif" <<a href="mailto:mike@mdsresource.net">mike@mdsresource.net</a>> wrote:<br>
><br>
> Since nobody will tell me: fix_whitespace_lines: Why does it NOT fix whitespace lines?<br>
><br>
> Do I have any other choice, other than turning OFF header checks, to avoid outgoing mail failing for this cause?<br>
><br>
> How can I turn OFF header checks for all outgoing mail?</p>
<p dir="ltr">Probably with a policy bank.<br></p>
<p dir="ltr">To disable bad header checks for certain recipients you can use @bypass_header_checks_maps in amavisd.conf. <br></p>
<p dir="ltr">I imagine you can somehow set that for outgoing only.</p>
<p dir="ltr">But frankly if it's for *outgoing* mail you could better just solve the application/script causing the issue..</p>
<p dir="ltr">Simon<br></p>
<p dir="ltr">> ~ Mike<br>
><br>
><br>
> On Wed, May 18, 2016 at 8:49 AM, Mike Schleif <<a href="mailto:mike@mdsresource.net">mike@mdsresource.net</a>> wrote:<br>
>><br>
>> postfix 2.10.1<br>
>><br>
>> How can I turn OFF the following particular header check ONLY for outgoing email?<br>
>> "Improper folded header field made up entirely of whitespace"<br>
>><br>
>> We're using postfix between the internet and MS Exchange 2010, and MS Outlook 2010 MUA.<br>
>><br>
>> Several times per week, outgoing mail is quarantined for this header violation, always in the References: header, example below:<br>
>><br>
>> ...<br>
>> References: <<a href="mailto:BY1PR13MB0151F1E18A901505CAE7F071CC710@BY1PR13MB0151.namprd13.prod.outlook.com">BY1PR13MB0151F1E18A901505CAE7F071CC710@BY1PR13MB0151.namprd13.prod.outlook.com</a>><br>
>> <1F13EA4287F2B24EA0E390BCFD313E7AB8A51E8D@SemExchange.sempris.local><br>
>> <<a href="mailto:BY1PR13MB01510E8FAC2AA3D5241F8BD4CC710@BY1PR13MB0151.namprd13.prod.outlook.com">BY1PR13MB01510E8FAC2AA3D5241F8BD4CC710@BY1PR13MB0151.namprd13.prod.outlook.com</a>><br>
>><br>
>> Accept-Language: en-US<br>
>> ...<br>
>><br>
>> We do not want to turn header checks off completely. Incoming email is not a problem for us.<br>
>><br>
>> For internal automated emails from legacy systems, we have already implemented:<br>
>> $interface_policy{'10027'} = 'SENDERBYPASS';<br>
>> $policy_bank{'SENDERBYPASS'} = {<br>
>> bypass_header_checks_maps => [1],<br>
>> final_bad_header_destiny => D_PASS,<br>
>> ... }<br>
>> via: /etc/postfix/amavis_sender_bypass<br>
>><br>
>> How can we turn OFF only this one header check for all outbound email?<br>
>><br>
><br>
</p>