From 2ff69014ce68bad43b292240adb68f5c6a644532 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Tue, 22 Mar 2016 13:11:26 +0300 Subject: [PATCH] [Fix] `MIME_BAD_ATTACHMENT` false positives for MDN/DSN --- conf/modules.d/mime_types.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/conf/modules.d/mime_types.conf b/conf/modules.d/mime_types.conf index 71d90e37e..eb00e04c7 100644 --- a/conf/modules.d/mime_types.conf +++ b/conf/modules.d/mime_types.conf @@ -22,7 +22,11 @@ mime_types { # Match specific extensions to specific content types extension_map = { html = "text/html"; - txt = "text/plain"; + txt = [ + "message/disposition-notification", + "text/plain", + "text/rfc822-headers" + ]; pdf = "application/pdf"; } } -- 2.39.5