diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-06-15 17:54:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-15 17:54:26 +0300 |
commit | 8e1fa66e450862d085165f0425a48a219ac974ad (patch) | |
tree | d30c42e267552e4f35abeb512fb9adfdd2f119cb /conf | |
parent | e3866554181f3afc44afcd3cbd24fc2d4aac7f2d (diff) | |
download | rspamd-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.conf | 5 |
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" + ]; } } |