[Rspamd-Users] Block emails with .doc, .xls attachments with Rspamd
Andreas Wass - Glas Gasperlmair
a.wass at glas-gasperlmair.at
Tue Apr 16 05:52:51 UTC 2024
i use it like this:
vi /etc/rspamd/local.d/mime_types.conf
# Extensions that are treated as 'bad'
# Number is score multiply factor
bad_extensions = {
accdb = 1,
accdr = 1,
ace = 1000,
ade = 1,
adp = 1,
ani = 1,
app = 1,
arj = 1,
asd = 1,
asf = 1,
asx = 1,
b64 = 1,
bas = 1,
bat = 1000,
tag your bad extensions with a high multipicator (1000)
next:
systemctl reload rspamd
best regards,
andi
Am 15.04.2024 um 17:02 schrieb Florian Effenberger:
> Hello,
>
> Andreas wrote on 15.04.24 at 15:46:
>> Fine,
>> it worked. What is mime_types.conf used for then?
>
> I don't know - I only know the variant I sent to you, never tried the
> mime_types.conf approach.
>
> Florian
More information about the Users
mailing list