banned file types

Deeztek Support support at deeztek.com
Mon Oct 20 16:21:21 CEST 2014



On 10/16/2014 3:56 PM, Deeztek Support wrote:
> I'm a little confused by the banned file types in amavis and I'm hoping
> someone can add some insight:
>
>
>
> Looking into amavis configuration, I see the following entries.
>
> Banned files:
>
> qr'.\.(exe|vbs|pif|scr|bat|cmd|com|cpl|rtf)$'i
>
> I'm assuming the "i" at the end means ban. If that's correct, could it
> be written as?
>
> [qr'.\.(exe|vbs|pif|scr|bat|cmd|com|cpl|rtf)$'=> 1]
>
> and have the same effect?
>
> Additionally, the following entry:
>
> [ qr'^\.(zip|rar|arc|arj|zoo)$'=> 0 ]
>
> I'm assuming that means allow
>
> Now, what does qr'^\. mean as opposed to qr'.\.
>
> Thanks in advance
>
>

Anyone?



More information about the amavis-users mailing list