+
+ ("\\.diff$\\|\\.patch$"
+ "application" "octet-stream" (("type" . "patch"))
+ nil
+ "attachment" (("filename" . file))
+ )
+
+ ("\\.signature"
+ "text" "plain" nil nil nil nil)
+
+
+ ("\\.js$"
+ "application" "javascript" nil
+ nil
+ "inline" (("filename" . file))
+ )
+
+
+ ;; Microsoft Project
+ ("\\.mpp$"
+ "application" "vnd.ms-project" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+
+
+ ;; Microsoft Office (none-OpenXML)
+
+ ("\\.rtf$" ; Rich text format
+ "application" "rtf" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.doc$" ;MS Word
+ "application" "msword" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.xls$" ; MS Excel
+ "application" "vnd.ms-excel" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.ppt$" ; MS Power Point
+ "application" "vnd.ms-powerpoint" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+
+
+ ;; Microsoft Office (OpenXML)
+
+ ; MS Word
+ ("\\.docm$"
+ "application" "vnd.ms-word.document.macroEnabled.12" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.docx$"
+ "application" "vnd.openxmlformats-officedocument.wordprocessingml.document" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.dotm$"
+ "application" "vnd.ms-word.template.macroEnabled.12" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.dotx$"
+ "application" "vnd.openxmlformats-officedocument.wordprocessingml.template" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+
+ ; MS Power Point
+ ("\\.potm$"
+ "application" "vnd.ms-powerpoint.template.macroEnabled.12" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.potx$"
+ "application" "vnd.openxmlformats-officedocument.presentationml.template" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.ppam$"
+ "application" "vnd.ms-powerpoint.addin.macroEnabled.12" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.ppsm$"
+ "application" "vnd.ms-powerpoint.slideshow.macroEnabled.12" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.ppsx$"
+ "application" "vnd.openxmlformats-officedocument.presentationml.slideshow" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.pptm$"
+ "application" "vnd.ms-powerpoint.presentation.macroEnabled.12" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.pptx$"
+ "application" "vnd.openxmlformats-officedocument.presentationml.presentation" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+
+ ; MS Excel
+ ("\\.xlam$"
+ "application" "vnd.ms-excel.addin.macroEnabled.12" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.xlsb$"
+ "application" "vnd.ms-excel.sheet.binary.macroEnabled.12" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.xlsm$"
+ "application" "vnd.ms-excel.sheet.macroEnabled.12" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.xlsx$"
+ "application" "vnd.openxmlformats-officedocument.spreadsheetml.sheet" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.xltm$"
+ "application" "vnd.ms-excel.template.macroEnabled.12" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.xltx$"
+ "application" "vnd.openxmlformats-officedocument.spreadsheetml.template" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+
+
+ ;; Open Office
+ ("\\.odt$"
+ "application" "vnd.oasis.opendocument.text" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.ods$"
+ "application" "vnd.oasis.opendocument.spreadsheet" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.odg$"
+ "application" "vnd.oasis.opendocument.graphics" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.odf$"
+ "application" "vnd.oasis.opendocument.formula" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.odm$"
+ "application" "vnd.oasis.opendocument.text-master" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.odp$"
+ "application" "vnd.oasis.opendocument.presentation" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.ott$"
+ "application" "vnd.oasis.opendocument.text-template" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.ots$"
+ "application" "vnd.oasis.opendocument.spreadsheet-template" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.otp$"
+ "application" "vnd.oasis.opendocument.presentation-template" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+ ("\\.otg$"
+ "application" "vnd.oasis.opendocument.graphics-template" nil
+ "base64"
+ "attachment" (("filename" . file))
+ )
+
+ ;; Postscript and PDF