Nested archives and executable files blocking enabled.
I have whitelisted senders like dmarc_support@corp.mail.ru, noreply-dmarc-support@google.com, noreply@dmarc.yahoo.com to receive reports.
Recently RSpamD started blocking all emails with archive attachments. Updated RspamD to version 3.2, no result. Recreating the white list did not help.
I can confirm that attachments are blocked in any case, even if the sender is whitelisted.
If you add prefilter = true; to the FORBIDDEN_FILE_EXTENSION in /etc/rspamd/local.d/multimap.conf (line 135) and restart rspamd, whitelisted mail addresses/domains can send attachments but I don’t know if it conflicts with other settings/cases. /cc @stephdl
#reject email when the file extension is found
FORBIDDEN_FILE_EXTENSION {
type = "filename";
filter = "extension";
map = [
"${CONFDIR}/forbidden_file_extension.map",
];
prefilter = true;
action = "reject";
symbol = "FORBIDDEN_FILE_EXTENSION";
description = "List of forbidden file extensions";
message = "Forbidden attachment name extension";
}
Maybe a custom template could help you to change this, indeed, if at a company level I decide to block archive or exe, if I allow a sender, I will accept his email with potential virus.
After internal discussion and because NS7 is at a feature freeze state…yes NS8 is coming
We reach the point that we could not add a new feature that it could change the current behavior of more than 10K servers in the world.
Maybe in your case @Alik_Gusainov the best option for you is to make a custom template