Re: Quoted-printable values in header-checks

2009-09-28 Thread Victor Duchovni
On Mon, Sep 28, 2009 at 01:18:36PM -0400, Brian Evans - Postfix List wrote: > > But why do you think a QP line feed will never occur in a legit mail? > > (complex expression not reviewed) The *correct* way to QP encode multi-line subjects, is to encode each line separately, in fact QP encoding o

Re: Quoted-printable values in header-checks

2009-09-28 Thread Brian Evans - Postfix List
Noel Jones wrote: > On 9/28/2009 12:02 PM, Brian Evans - Postfix List wrote: >> OK.. then how about this refined pcre: >> >> /^Subject: =\?.*\?Q\?.*(=0A(\s)?)*\?=$/ REJECT Bad Subject format >> >> With the inclusion of the quoted-printable header definition, I think >> the chances of false positiv

Re: Quoted-printable values in header-checks

2009-09-28 Thread Noel Jones
On 9/28/2009 12:02 PM, Brian Evans - Postfix List wrote: Noel Jones wrote: On 9/28/2009 11:17 AM, Brian Evans - Postfix List wrote: Noel Jones wrote: On 9/28/2009 10:35 AM, Brian Evans - Postfix List wrote: How would you detect a quoted-printable line feed in header checks? I get lots of spa

Re: Quoted-printable values in header-checks

2009-09-28 Thread Brian Evans - Postfix List
Noel Jones wrote: > On 9/28/2009 11:17 AM, Brian Evans - Postfix List wrote: >> Noel Jones wrote: >>> On 9/28/2009 10:35 AM, Brian Evans - Postfix List wrote: How would you detect a quoted-printable line feed in header checks? I get lots of spam that includes several of these and wou

Re: Quoted-printable values in header-checks

2009-09-28 Thread Noel Jones
On 9/28/2009 11:17 AM, Brian Evans - Postfix List wrote: Noel Jones wrote: On 9/28/2009 10:35 AM, Brian Evans - Postfix List wrote: How would you detect a quoted-printable line feed in header checks? I get lots of spam that includes several of these and would like to reject them early. If the

Re: Quoted-printable values in header-checks

2009-09-28 Thread Brian Evans - Postfix List
Noel Jones wrote: > On 9/28/2009 10:35 AM, Brian Evans - Postfix List wrote: >> How would you detect a quoted-printable line feed in header checks? >> >> I get lots of spam that includes several of these and would like to >> reject them early. >> >> If there is a good reason not to do this, please

Re: Quoted-printable values in header-checks

2009-09-28 Thread Noel Jones
On 9/28/2009 10:35 AM, Brian Evans - Postfix List wrote: How would you detect a quoted-printable line feed in header checks? I get lots of spam that includes several of these and would like to reject them early. If there is a good reason not to do this, please note such. View the on-disk mail

Quoted-printable values in header-checks

2009-09-28 Thread Brian Evans - Postfix List
How would you detect a quoted-printable line feed in header checks? I get lots of spam that includes several of these and would like to reject them early. If there is a good reason not to do this, please note such.