Hmmm, when I try to attach the e-mail, it bounces.  So, here is the message
from Wietse pasted into this message:
=====
> Hey all ;)
>
> Is strict_7bit_headers safe to use? Is it worth enabling or will
> it cause me headaches? (fairly large isp)

I consider this too blunt a tool. It rejects mail at the slightest
offense, and therefore has too many false positives.

I do, however, feel comfortable rejecting mail with lots of
non-printable (including 8-bit) header content.

/etc/postfix/header_checks:
    /[^[:print:]]{7}/ REJECT Your mailer is not RFC 2047 compliant

Wietse
=====

Bill
----- Original Message ----- 
From: "Bill Landry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 09, 2003 6:36 PM
Subject: [IMGate] Re: Bad Date Header



 That may be true, but I have been running this one for several weeks and
have had no false positives due to this header-check (but we do not  receive
lots of non-English mail, either).  I have attached an e-mail from
 Wietse,  the developer of Postfix, which is why I added this one to my
header-checks.

 Yes, YMMV...

 Bill
----- Original Message ----- 
> From: "Omar K." <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 09, 2003 7:23 PM
> Subject: [IMGate] Re: Bad Date Header
>
>
>
> I think its worth to mention that these header checks create a lot of
> false
> positives on non-English based characters.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On
> Behalf Of Bill Landry
> Sent: Tuesday, June 10, 2003 3:14 AM
> To: [EMAIL PROTECTED]
> Subject: [IMGate] Re: Bad Date Header
>
>
>
> Try this in you header checks, called as a regexp string (NOT pcre):
>
>     /[^[:print:]]{7}/       REJECT Your mailer is not RFC 2047 compliant
>
> which will cover all of the headers, including the date.
>
> Bill
> ----- Original Message ----- 
> From: "Evan Pearce" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 09, 2003 4:59 PM
> Subject: [IMGate] Re: Bad Date Header
>
>
>
> On 10/06/2003 at 09:25:31, Michael Keen wrote:
>
>
> >> /^Date: .*[[:^print:]]/ REJECT RFC 1893 ERROR 5.6.2 Conversion of
> high
> bit
> >> header in date required and prohibited by RFC 2047.
>
> > Woops.  I get:
>
> > imgate postfix/cleanup[4730]: warning: regexp map
> > /etc/postfix/header_checks.regexp, line 39: invalid character class
>
> I think the caret is in the wrong spot. Try it as:
>
>         /^Date: .*[^[:print:]]/
>
> Cheers,
> Evan
>
>
>
>
>
>
>
>




Reply via email to