diff options
author | Jean-Louis Dupond <jean-louis@dupond.be> | 2021-12-17 10:18:35 +0100 |
---|---|---|
committer | Jean-Louis Dupond <jean-louis@dupond.be> | 2021-12-17 10:18:35 +0100 |
commit | 9a0bf41851697b92a0d4bfd3ed3643d3b5f838b9 (patch) | |
tree | 2b4928707f251dcc67b4cbc890a0fcce8ded2708 /conf | |
parent | 84aef0280c7ea8a18737d4ee5232f4a9bd004d30 (diff) | |
download | rspamd-9a0bf41851697b92a0d4bfd3ed3643d3b5f838b9.tar.gz rspamd-9a0bf41851697b92a0d4bfd3ed3643d3b5f838b9.zip |
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.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/modules.d/mime_types.conf | 3 |
1 files changed, 2 insertions, 1 deletions
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" ]; } |