banned_filename_re and whitelist recipients exits?
Damian
amavis at arcsin.de
Mon Apr 12 13:30:07 CEST 2021
> 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 = ( {
> 'special1 at domain.tld' => $allow_scr, 'special2 at domain.tld' =>
> $allow_scr, 'domain2.tld' => $allow_scr, '.' => [$banned_filename_re],
> }, );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20210412/7975acbd/attachment.htm>
More information about the amavis-users
mailing list