banned_filename_re expressions

Tilman Schmidt tschmidt at cardtech.de
Fri May 6 10:19:25 CEST 2016


On 06.05.2016 00:41, Bill Measday wrote:
> Could someone please explain to me in setting up banned_filename_re in
> amavisd.conf why some entries have an "i" on the end.
> 
> For example:
> 
>     qr'^\.(exe-ms|dll)$',                   # banned file(1) types,
> rudimentary
> 
> doesn't, but
> 
>     qr'.\.(pif|scr)$'i,                     # banned extensions -
> rudimentary
> 
> does.

The "i" is perlish for "ignore case", ie. a case insensitive match.



More information about the amavis-users mailing list