aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2016-06-15 17:54:26 +0300
committerGitHub <noreply@github.com>2016-06-15 17:54:26 +0300
commit8e1fa66e450862d085165f0425a48a219ac974ad (patch)
treed30c42e267552e4f35abeb512fb9adfdd2f119cb /conf
parente3866554181f3afc44afcd3cbd24fc2d4aac7f2d (diff)
downloadrspamd-8e1fa66e450862d085165f0425a48a219ac974ad.tar.gz
rspamd-8e1fa66e450862d085165f0425a48a219ac974ad.zip
[Minor] Add `application/octet-stream` mime type for `pdf` extension
The `application/octet-stream` mime type is commonly used for `pdf` files by variety of automated mailing systems.
Diffstat (limited to 'conf')
-rw-r--r--conf/modules.d/mime_types.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/modules.d/mime_types.conf b/conf/modules.d/mime_types.conf
index eb00e04c7..e4c80e0a1 100644
--- a/conf/modules.d/mime_types.conf
+++ b/conf/modules.d/mime_types.conf
@@ -27,6 +27,9 @@ mime_types {
"text/plain",
"text/rfc822-headers"
];
- pdf = "application/pdf";
+ pdf = [
+ "application/octet-stream",
+ "application/pdf"
+ ];
}
}