[Rspamd-Users] Need some help with FILENAME_BLACKLISTED

G.W. Haywood rspamd at jubileegroup.co.uk
Mon Sep 5 13:35:28 UTC 2022


Hello again,

On Mon, 5 Sep 2022, Andreas Wass - Glas Gasperlmair wrote:

> thank you for your input, now it works fine:
>
> multimap.conf
>
> FILENAME_BLACKLISTED {
>   type = "filename";
>   filter = "regexp:/.*/";
>   map = "${LOCAL_CONFDIR}/local.d/gasp_filename_blacklist.map";
>   action = "reject";
>   message = "A restricted file type was found";
>   regexp = true;
> }
>
> gasp_filename_blacklist.map:
>
> \.xlsx\.txt

I don't think I could have guessed exactly that configuration but I'm
glad it works for you now. :)

Perhaps someone else on the list can explain to us why it does!

-- 

73,
Ged.


More information about the Users mailing list