simply I wish allow some specific extension of file (scr) for some users only, and keep default values for all without remove extension scr in $banned_filename_re

Should be possible in principle. $banned_filename_re is used indirectly. In a default setup, more or less as

@banned_filename_maps = ({'.' => [$banned_filename_re]});
Try the following:

$banned_filename_re = ... my $allow_scr = [ new_RE([qr'.\.scr$' => 0]), $banned_filename_re, ]; @banned_filename_maps = ( { '[email protected]' => $allow_scr, '[email protected]' => $allow_scr, 'domain2.tld' => $allow_scr, '.' => [$banned_filename_re], }, );

Reply via email to