From: Jean-Louis Dupond Date: Fri, 17 Dec 2021 09:18:35 +0000 (+0100) Subject: Map application/x-pdf to pdf X-Git-Tag: 3.2~149^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9a0bf41851697b92a0d4bfd3ed3643d3b5f838b9;p=rspamd.git Map application/x-pdf to pdf Some mails were marked as MIME_BAD_ATTACHMENT (4) [pdf:application/x-pdf] application/x-pdf might be obsolete but still used. --- diff --git a/conf/modules.d/mime_types.conf b/conf/modules.d/mime_types.conf index 376b70171..1f67595a7 100644 --- a/conf/modules.d/mime_types.conf +++ b/conf/modules.d/mime_types.conf @@ -30,7 +30,8 @@ mime_types { ]; pdf = [ "application/octet-stream", - "application/pdf" + "application/pdf", + "application/x-pdf" ]; }