<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
<div class="moz-cite-prefix">On 25/03/2015 11:10, Glenn Steen wrote:<br>
</div>
<blockquote
cite="mid:CAAug_B-6pZNEB=uftgh6xBMQ6XUkCNi19kRSG=-JduhppNf+-g@mail.gmail.com"
type="cite">
<pre wrap="">Sure, I'll bite... IIRC this is exactly true. Unlike with AV and spam
scanning, both tests will occur, so the individual order is not really
that relevant.... Unless you have a problem in one (or the other).
Cheers!
</pre>
</blockquote>
<br>
I found it in the doc!<br>
<br>
So the answer is: The attachment must pass <b>all four tests before
it is allowed</b> to remain in the message.<br>
<br>
The filename AND the filetype Rules.<br>
<br>
From the PDF p.208<br>
<br>
<blockquote>Allow Filenames =<br>
This contains a space-separated list of regular expressions used
as rules which are applied to<br>
the original fileames of attachments. If any of these rules
matches, then the filename is<br>
accepted. This can also be the filename of a ruleset.<br>
<br>
Deny Filenames =<br>
This contains a space-separated list of regular expressions used
as rules which are applied to<br>
the original filenames of attachments. If any of these rules
matches, then the filename is not<br>
accepted, and the attachment is blocked. This can also be the
filename of a ruleset.<br>
<br>
Allow Filetypes =<br>
This contains a space-separated list of regular expressions. These
expressions are matched<br>
against the output of the “file” command. If any of the
expressions match, then the<br>
attachment is accepted and allowed to remain in the message. This
can also be the filename of<br>
a ruleset.<br>
<br>
page 197<br>
<br>
Deny Filetypes =<br>
This contains a space-separated list of regular expressions, and
is used similarly to the “Allow<br>
Filetypes” option above. If and of the expressions match, then the
attachment is blocked and<br>
removed from the message. This can also be the filename of a
ruleset.<br>
<br>
The attachment must pass <b>all four tests before it is allowed</b>
to remain in the message. If none of the<br>
regular expressions match at all, then the previous system based
around “filename.rules.conf” and<br>
“filetype.rules.conf” is applied to the attachment instead, and
all of those tests must pass for it to<br>
remain in the message.<br>
<br>
<br>
</blockquote>
So I can't allow filename to skip filetype, for a specific filename.<br>
Filetype will still deny it.<br>
<br>
The code doesn't reveal that, for me for now.<br>
<br>
Still digging.<br>
<br>
Regards.<br>
</body>
</html>