[Rspamd-Users] Block emails with .doc, .xls attachments with Rspamd
Andreas
rspamd at linuxmaker.com
Mon Apr 15 13:46:56 UTC 2024
Am Montag, 15. April 2024, 14:45:02 CEST schrieb Florian Effenberger:
> I think it should work with the following in local.d/multimap.conf:
>
> FILENAME_BLACKLISTED {
> type = "filename";
> filter = "extension";
> map = "$CONFDIR/local.d/filename.map";
> action = "reject";
> message = "A restricted file type was found";
> skip_archives = true;
> }
>
> filename.map itself only contains the suffix of the files to be blocked,
> e.g.
>
> vbs
> dll
> exe
> com
>
> Florian
Fine,
it worked. What is mime_types.conf used for then?
Greetings and thanks
Andreas
More information about the Users
mailing list