[prev in list] [next in list] [prev in thread] [next in thread]
List: postfix-users
Subject: Re: MIME header checks matching
From: Alex <mysqlstudent () gmail ! com>
Date: 2017-06-15 0:48:48
Message-ID: CAB1R3siqzczN=UDznnCAVCFH9GjUfbx3VgWQV5a6m=b8zNUMVQ () mail ! gmail ! com
[Download RAW message or body]
Hi,
On Wed, Jun 14, 2017 at 2:41 PM, Andreas Schamanek
<schamane@fam.tuwien.ac.at> wrote:
>
> On Wed, 14 Jun 2017, at 12:34, Noel Jones wrote:
>
>> > I have a series of mime patterns to automatically reject file types
>> > including com, bat, exe, etc. It appears one pattern is matching
>> > incorrectly, ...
>>
>> Rather than try to debug your expression, I'll refer you to the nice
>> example on the header_checks man page. That example was updated not
>> too long ago to fix a similar false positive.
>> http://www.postfix.org/header_checks.5.html
>
> BTW, I know it's just an example, but it's so wonderfully extensive
> that I feel like suggesting to add the frequently abused `.jar` to the
> regex.
Thanks very much for this. I've started with the example in
header_checks and expanded it further to include a few other
extensions like jar and dotm.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic