]> source.dussan.org Git - rspamd.git/commitdiff
Map application/x-pdf to pdf 4013/head
authorJean-Louis Dupond <jean-louis@dupond.be>
Fri, 17 Dec 2021 09:18:35 +0000 (10:18 +0100)
committerJean-Louis Dupond <jean-louis@dupond.be>
Fri, 17 Dec 2021 09:18:35 +0000 (10:18 +0100)
Some mails were marked as
MIME_BAD_ATTACHMENT (4) [pdf:application/x-pdf]

application/x-pdf might be obsolete but still used.

conf/modules.d/mime_types.conf

index 376b70171d504b0dc37f71a70b7169f612053827..1f67595a7a386d23c4e7a226b7038728ed84e27c 100644 (file)
@@ -30,7 +30,8 @@ mime_types {
     ];
     pdf = [
       "application/octet-stream",
-      "application/pdf"
+      "application/pdf",
+      "application/x-pdf"
     ];
   }