From: Vsevolod Stakhov Date: Sat, 23 Jan 2016 13:44:49 +0000 (+0000) Subject: Add mime types checking plugin X-Git-Tag: 1.1.2~63 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4f964ef5a1bb68b91e6afa1a78a718be5f975923;p=rspamd.git Add mime types checking plugin --- diff --git a/conf/mime_types.inc b/conf/mime_types.inc new file mode 100644 index 000000000..b183a9f15 --- /dev/null +++ b/conf/mime_types.inc @@ -0,0 +1,1523 @@ +# perl -ne 'if(/([^\d.\s\[o][^\d.\[\]\s\/A-Z]{3,}\/[^\s\/]+)/) { print "$1 0\n"; }' +application/1d-interleaved-parityfec 0 +application/3gpdash-qoe-report+xml 0 +application/3gpp-ims+xml 0 +application/A2L 0 +application/AML 0 +application/ATF 0 +application/ATFX 0 +application/ATXML 0 +application/CALS-1840 0 +application/CDFX+XML 0 +application/CEA 0 +application/CSTAdata+xml 0 +application/DCD 0 +application/DII 0 +application/DIT 0 +application/EDI-X12 0 +application/EDI-consent 0 +application/EDIFACT 0 +application/EmergencyCallData.Comment+xml 0 +application/EmergencyCallData.DeviceInfo+xml 0 +application/EmergencyCallData.ProviderInfo+xml 0 +application/EmergencyCallData.ServiceInfo+xml 0 +application/EmergencyCallData.SubscriberInfo+xml 0 +application/H224 0 +application/IOTP 0 +application/ISUP 0 +application/LXF 0 +application/MF4 0 +application/ODA 0 +application/ODX 0 +application/PDX 0 +application/QSIG 0 +application/SGML 0 +application/activemessage 0 +application/alto-costmap+json 0 +application/alto-costmapfilter+json 0 +application/alto-directory+json 0 +application/alto-endpointcost+json 0 +application/alto-endpointcostparams+json 0 +application/alto-endpointprop+json 0 +application/alto-endpointpropparams+json 0 +application/alto-error+json 0 +application/alto-networkmap+json 0 +application/alto-networkmapfilter+json 0 +application/andrew-inset 0 +application/applefile 0 +application/atom+xml 0 +application/atomcat+xml 0 +application/atomdeleted+xml 0 +application/atomicmail 0 +application/atomsvc+xml 0 +application/auth-policy+xml 0 +application/bacnet-xdd+zip 0 +application/batch-SMTP 0 +application/beep+xml 0 +application/calendar+json 0 +application/calendar+xml 0 +application/call-completion 0 +application/cbor 0 +application/ccmp+xml 0 +application/ccxml+xml 0 +application/cdmi-capability 0 +application/cdmi-container 0 +application/cdmi-domain 0 +application/cdmi-object 0 +application/cdmi-queue 0 +application/cdni 0 +application/cea-2018+xml 0 +application/cellml+xml 0 +application/cfw 0 +application/cms 0 +application/cnrp+xml 0 +application/coap-group+json 0 +application/commonground 0 +application/conference-info+xml 0 +application/cpl+xml 0 +application/csrattrs 0 +application/csta+xml 0 +application/csvm+json 0 +application/cybercash 0 +application/dash+xml 0 +application/dashdelta 0 +application/davmount+xml 0 +application/dca-rft 0 +application/dec-dx 0 +application/dialog-info+xml 0 +application/dicom 0 +application/dns 0 +application/dskpp+xml 0 +application/dssc+der 0 +application/dssc+xml 0 +application/dvcs 0 +application/ecmascript 0 +application/emotionml+xml 0 +application/encaprtp 0 +application/epp+xml 0 +application/epub+zip 0 +application/eshop 0 +application/example 0 +application/fastinfoset 0 +application/fastsoap 0 +application/fdt+xml 0 +application/fits 0 +application/font-sfnt 0 +application/font-tdpfr 0 +application/font-woff 0 +application/framework-attributes+xml 0 +application/gzip 0 +application/held+xml 0 +application/http 0 +application/hyperstudio 0 +application/ibe-key-request+xml 0 +application/ibe-pkg-reply+xml 0 +application/ibe-pp-data 0 +application/iges 0 +application/im-iscomposing+xml 0 +application/index 0 +application/index-obj 0 +application/index.cmd 0 +application/index.response 0 +application/index.vnd 0 +application/inkml+xml 0 +application/ipfix 0 +application/ipp 0 +application/its+xml 0 +application/javascript 0 +application/jose 0 +application/jose+json 0 +application/jrd+json 0 +application/json 0 +application/json-patch+json 0 +application/json-seq 0 +application/jwk+json 0 +application/jwk-set+json 0 +application/jwt 0 +application/kpml-request+xml 0 +application/kpml-response+xml 0 +application/ld+json 0 +application/link-format 0 +application/load-control+xml 0 +application/lost+xml 0 +application/lostsync+xml 0 +application/mac-binhex40 0 +application/macwriteii 0 +application/mads+xml 0 +application/marc 0 +application/marcxml+xml 0 +application/mathematica 0 +application/mbms-associated-procedure-description+xml 0 +application/mbms-deregister+xml 0 +application/mbms-envelope+xml 0 +application/mbms-msk+xml 0 +application/mbms-msk-response+xml 0 +application/mbms-protection-description+xml 0 +application/mbms-reception-report+xml 0 +application/mbms-register+xml 0 +application/mbms-register-response+xml 0 +application/mbms-schedule+xml 0 +application/mbms-user-service-description+xml 0 +application/mbox 0 +application/media-policy-dataset+xml 0 +application/media_control+xml 0 +application/mediaservercontrol+xml 0 +application/merge-patch+json 0 +application/metalink4+xml 0 +application/mets+xml 0 +application/mikey 0 +application/mods+xml 0 +application/moss-keys 0 +application/moss-signature 0 +application/mosskey-data 0 +application/mosskey-request 0 +application/mp21 0 +application/mp4 0 +application/mpeg4-generic 0 +application/mpeg4-iod 0 +application/mpeg4-iod-xmt 0 +application/mrb-consumer+xml 0 +application/mrb-publish+xml 0 +application/msc-ivr+xml 0 +application/msc-mixer+xml 0 +application/msword 0 +application/mxf 0 +application/nasdata 0 +application/news-checkgroups 0 +application/news-groupinfo 0 +application/news-transmission 0 +application/nlsml+xml 0 +application/nss 0 +application/ocsp-request 0 +application/ocsp-response 0 +application/octet-stream 0 +application/oebps-package+xml 0 +application/ogg 0 +application/oxps 0 +application/p2p-overlay+xml 0 +application/patch-ops-error+xml 0 +application/pdf 0 +application/pgp-encrypted 0 +application/pgp-signature 0 +application/pidf+xml 0 +application/pidf-diff+xml 0 +application/pkcs10 0 +application/pkcs12 0 +application/pkcs7-mime 0 +application/pkcs7-signature 0 +application/pkcs8 0 +application/pkix-attr-cert 0 +application/pkix-cert 0 +application/pkix-crl 0 +application/pkix-pkipath 0 +application/pkixcmp 0 +application/pls+xml 0 +application/poc-settings+xml 0 +application/postscript 0 +application/ppsp-tracker+json 0 +application/provenance+xml 0 +application/prs.alvestrand.titrax-sheet 0 +application/prs.cww 0 +application/prs.hpub+zip 0 +application/prs.nprend 0 +application/prs.plucker 0 +application/prs.rdf-xml-crypt 0 +application/prs.xsf+xml 0 +application/pskc+xml 0 +application/raptorfec 0 +application/rdap+json 0 +application/rdf+xml 0 +application/reginfo+xml 0 +application/relax-ng-compact-syntax 0 +application/remote-printing 0 +application/reputon+json 0 +application/resource-lists+xml 0 +application/resource-lists-diff+xml 0 +application/rfc+xml 0 +application/riscos 0 +application/rlmi+xml 0 +application/rls-services+xml 0 +application/rpki-ghostbusters 0 +application/rpki-manifest 0 +application/rpki-roa 0 +application/rpki-updown 0 +application/rtf 0 +application/rtploopback 0 +application/rtx 0 +application/samlassertion+xml 0 +application/samlmetadata+xml 0 +application/sbml+xml 0 +application/scaip+xml 0 +application/scim+json 0 +application/scvp-cv-request 0 +application/scvp-cv-response 0 +application/scvp-vp-request 0 +application/scvp-vp-response 0 +application/sdp 0 +application/sep+xml 0 +application/sep-exi 0 +application/session-info 0 +application/set-payment 0 +application/set-payment-initiation 0 +application/set-registration 0 +application/set-registration-initiation 0 +application/sgml-open-catalog 0 +application/shf+xml 0 +application/sieve 0 +application/simple-filter+xml 0 +application/simple-message-summary 0 +application/simpleSymbolContainer 0 +application/slate 0 +application/smil+xml 0 +application/smpte336m 0 +application/soap+fastinfoset 0 +application/soap+xml 0 +application/spirits-event+xml 0 +application/sql 0 +application/srgs 0 +application/srgs+xml 0 +application/sru+xml 0 +application/ssml+xml 0 +application/tamp-apex-update 0 +application/tamp-apex-update-confirm 0 +application/tamp-community-update 0 +application/tamp-community-update-confirm 0 +application/tamp-error 0 +application/tamp-sequence-adjust 0 +application/tamp-sequence-adjust-confirm 0 +application/tamp-status-query 0 +application/tamp-status-response 0 +application/tamp-update 0 +application/tamp-update-confirm 0 +application/tei+xml 0 +application/thraud+xml 0 +application/timestamp-query 0 +application/timestamp-reply 0 +application/timestamped-data 0 +application/ttml+xml 0 +application/tve-trigger 0 +application/ulpfec 0 +application/urc-grpsheet+xml 0 +application/urc-ressheet+xml 0 +application/urc-targetdesc+xml 0 +application/urc-uisocketdesc+xml 0 +application/vcard+json 0 +application/vcard+xml 0 +application/vemmi 0 +application/vnd-acucobol 0 +application/vnd-curl 0 +application/vnd-dart 0 +application/vnd-dxr 0 +application/vnd-fdf 0 +application/vnd-mif 0 +application/vnd-sema 0 +application/vnd-wap-wmlc 0 +application/vnd.3M.Post-it-Notes 0 +application/vnd.3gpp-prose+xml 0 +application/vnd.3gpp-prose-pc3ch+xml 0 +application/vnd.3gpp.SRVCC-info+xml 0 +application/vnd.3gpp.access-transfer-events+xml 0 +application/vnd.3gpp.bsf+xml 0 +application/vnd.3gpp.mid-call+xml 0 +application/vnd.3gpp.pic-bw-large 0 +application/vnd.3gpp.pic-bw-small 0 +application/vnd.3gpp.pic-bw-var 0 +application/vnd.3gpp.sms 0 +application/vnd.3gpp.srvcc-ext+xml 0 +application/vnd.3gpp.state-and-event-info+xml 0 +application/vnd.3gpp.ussd+xml 0 +application/vnd.3gpp2.bcmcsinfo+xml 0 +application/vnd.3gpp2.sms 0 +application/vnd.3gpp2.tcap 0 +application/vnd.FloGraphIt 0 +application/vnd.HandHeld-Entertainment+xml 0 +application/vnd.Kinar 0 +application/vnd.MFER 0 +application/vnd.Mobius.DAF 0 +application/vnd.Mobius.DIS 0 +application/vnd.Mobius.MBK 0 +application/vnd.Mobius.MQY 0 +application/vnd.Mobius.MSL 0 +application/vnd.Mobius.PLC 0 +application/vnd.Mobius.TXF 0 +application/vnd.Quark.QuarkXPress 0 +application/vnd.SimTech-MindMapper 0 +application/vnd.accpac.simply.aso 0 +application/vnd.accpac.simply.imp 0 +application/vnd.acucorp 0 +application/vnd.adobe.flash-movie 0 +application/vnd.adobe.formscentral.fcdt 0 +application/vnd.adobe.fxp 0 +application/vnd.adobe.partial-upload 0 +application/vnd.adobe.xdp+xml 0 +application/vnd.adobe.xfdf 0 +application/vnd.aether.imp 0 +application/vnd.ah-barcode 0 +application/vnd.ahead.space 0 +application/vnd.airzip.filesecure.azf 0 +application/vnd.airzip.filesecure.azs 0 +application/vnd.americandynamics.acc 0 +application/vnd.amiga.ami 0 +application/vnd.amundsen.maze+xml 0 +application/vnd.anki 0 +application/vnd.anser-web-certificate-issue-initiation 0 +application/vnd.antix.game-component 0 +application/vnd.apache.thrift.binary 0 +application/vnd.apache.thrift.compact 0 +application/vnd.apache.thrift.json 0 +application/vnd.api+json 0 +application/vnd.apple.installer+xml 0 +application/vnd.apple.mpegurl 0 +application/vnd.arastra.swi 0 +application/vnd.aristanetworks.swi 0 +application/vnd.artsquare 0 +application/vnd.astraea-software.iota 0 +application/vnd.audiograph 0 +application/vnd.autopackage 0 +application/vnd.avistar+xml 0 +application/vnd.balsamiq.bmml+xml 0 +application/vnd.balsamiq.bmpr 0 +application/vnd.bekitzur-stech+json 0 +application/vnd.biopax.rdf+xml 0 +application/vnd.blueice.multipass 0 +application/vnd.bluetooth.ep.oob 0 +application/vnd.bluetooth.le.oob 0 +application/vnd.bmi 0 +application/vnd.businessobjects 0 +application/vnd.cab-jscript 0 +application/vnd.canon-cpdl 0 +application/vnd.canon-lips 0 +application/vnd.cendio.thinlinc.clientconf 0 +application/vnd.century-systems.tcp_stream 0 +application/vnd.chemdraw+xml 0 +application/vnd.chipnuts.karaoke-mmd 0 +application/vnd.cinderella 0 +application/vnd.cirpack.isdn-ext 0 +application/vnd.citationstyles.style+xml 0 +application/vnd.claymore 0 +application/vnd.cloanto.rp9 0 +application/vnd.clonk.c4group 0 +application/vnd.cluetrust.cartomobile-config 0 +application/vnd.cluetrust.cartomobile-config-pkg 0 +application/vnd.coffeescript 0 +application/vnd.collection+json 0 +application/vnd.collection.doc+json 0 +application/vnd.collection.next+json 0 +application/vnd.commerce-battelle 0 +application/vnd.commonspace 0 +application/vnd.contact.cmsg 0 +application/vnd.cosmocaller 0 +application/vnd.crick.clicker 0 +application/vnd.crick.clicker.keyboard 0 +application/vnd.crick.clicker.palette 0 +application/vnd.crick.clicker.template 0 +application/vnd.crick.clicker.wordbank 0 +application/vnd.criticaltools.wbs+xml 0 +application/vnd.ctc-posml 0 +application/vnd.ctct.ws+xml 0 +application/vnd.cups-pdf 0 +application/vnd.cups-postscript 0 +application/vnd.cups-ppd 0 +application/vnd.cups-raster 0 +application/vnd.cups-raw 0 +application/vnd.cyan.dean.root+xml 0 +application/vnd.cybank 0 +application/vnd.data-vision.rdz 0 +application/vnd.debian.binary-package 0 +application/vnd.dece-zip 0 +application/vnd.dece.data 0 +application/vnd.dece.ttml+xml 0 +application/vnd.dece.unspecified 0 +application/vnd.denovo.fcselayout-link 0 +application/vnd.desmume-movie 0 +application/vnd.dir-bi.plate-dl-nosuffix 0 +application/vnd.dm.delegation+xml 0 +application/vnd.dna 0 +application/vnd.document+json 0 +application/vnd.dolby.mobile.1 0 +application/vnd.dolby.mobile.2 0 +application/vnd.doremir.scorecloud-binary-document 0 +application/vnd.dpgraph 0 +application/vnd.dreamfactory 0 +application/vnd.drive+json 0 +application/vnd.dtg.local 0 +application/vnd.dtg.local-html 0 +application/vnd.dtg.local.flash 0 +application/vnd.dvb.ait 0 +application/vnd.dvb.dvbj 0 +application/vnd.dvb.esgcontainer 0 +application/vnd.dvb.ipdcdftnotifaccess 0 +application/vnd.dvb.ipdcesgaccess 0 +application/vnd.dvb.ipdcesgaccess2 0 +application/vnd.dvb.ipdcesgpdd 0 +application/vnd.dvb.ipdcroaming 0 +application/vnd.dvb.iptv.alfec-base 0 +application/vnd.dvb.iptv.alfec-enhancement 0 +application/vnd.dvb.notif-aggregate-root+xml 0 +application/vnd.dvb.notif-container+xml 0 +application/vnd.dvb.notif-generic+xml 0 +application/vnd.dvb.notif-ia-msglist+xml 0 +application/vnd.dvb.notif-ia-registration-request+xml 0 +application/vnd.dvb.notif-ia-registration-response+xml 0 +application/vnd.dvb.notif-init+xml 0 +application/vnd.dvb.pfr 0 +application/vnd.dvb_service 0 +application/vnd.dynageo 0 +application/vnd.dzr 0 +application/vnd.easykaraoke.cdgdownload 0 +application/vnd.ecdis-update 0 +application/vnd.ecowin.chart 0 +application/vnd.ecowin.filerequest 0 +application/vnd.ecowin.fileupdate 0 +application/vnd.ecowin.series 0 +application/vnd.ecowin.seriesrequest 0 +application/vnd.ecowin.seriesupdate 0 +application/vnd.emclient.accessrequest+xml 0 +application/vnd.enliven 0 +application/vnd.enphase.envoy 0 +application/vnd.eprints.data+xml 0 +application/vnd.epson.esf 0 +application/vnd.epson.msf 0 +application/vnd.epson.quickanime 0 +application/vnd.epson.salt 0 +application/vnd.epson.ssf 0 +application/vnd.ericsson.quickcall 0 +application/vnd.eszigno3+xml 0 +application/vnd.etsi.aoc+xml 0 +application/vnd.etsi.asic-e+zip 0 +application/vnd.etsi.asic-s+zip 0 +application/vnd.etsi.cug+xml 0 +application/vnd.etsi.iptvcommand+xml 0 +application/vnd.etsi.iptvdiscovery+xml 0 +application/vnd.etsi.iptvprofile+xml 0 +application/vnd.etsi.iptvsad-bc+xml 0 +application/vnd.etsi.iptvsad-cod+xml 0 +application/vnd.etsi.iptvsad-npvr+xml 0 +application/vnd.etsi.iptvservice+xml 0 +application/vnd.etsi.iptvsync+xml 0 +application/vnd.etsi.iptvueprofile+xml 0 +application/vnd.etsi.mcid+xml 0 +application/vnd.etsi.mheg5 0 +application/vnd.etsi.overload-control-policy-dataset+xml 0 +application/vnd.etsi.pstn+xml 0 +application/vnd.etsi.sci+xml 0 +application/vnd.etsi.simservs+xml 0 +application/vnd.etsi.timestamp-token 0 +application/vnd.etsi.tsl+xml 0 +application/vnd.etsi.tsl.der 0 +application/vnd.eudora.data 0 +application/vnd.ezpix-album 0 +application/vnd.ezpix-package 0 +application/vnd.f-secure.mobile 0 +application/vnd.fastcopy-disk-image 0 +application/vnd.fdsn.mseed 0 +application/vnd.fdsn.seed 0 +application/vnd.ffsns 0 +application/vnd.filmit.zfc 0 +application/vnd.fints 0 +application/vnd.firemonkeys.cloudcell 0 +application/vnd.fluxtime.clip 0 +application/vnd.font-fontforge-sfd 0 +application/vnd.framemaker 0 +application/vnd.frogans.fnc 0 +application/vnd.frogans.ltf 0 +application/vnd.fsc.weblaunch 0 +application/vnd.fujitsu.oasys 0 +application/vnd.fujitsu.oasys2 0 +application/vnd.fujitsu.oasys3 0 +application/vnd.fujitsu.oasysgp 0 +application/vnd.fujitsu.oasysprs 0 +application/vnd.fujixerox.ART-EX 0 +application/vnd.fujixerox.ART4 0 +application/vnd.fujixerox.HBPL 0 +application/vnd.fujixerox.ddd 0 +application/vnd.fujixerox.docuworks 0 +application/vnd.fujixerox.docuworks.binder 0 +application/vnd.fujixerox.docuworks.container 0 +application/vnd.fut-misnet 0 +application/vnd.fuzzysheet 0 +application/vnd.genomatix.tuxedo 0 +application/vnd.geo+json 0 +application/vnd.geocube+xml 0 +application/vnd.geogebra.file 0 +application/vnd.geogebra.tool 0 +application/vnd.geometry-explorer 0 +application/vnd.geonext 0 +application/vnd.geoplan 0 +application/vnd.geospace 0 +application/vnd.gerber 0 +application/vnd.globalplatform.card-content-mgt 0 +application/vnd.globalplatform.card-content-mgt-response 0 +application/vnd.gmx 0 +application/vnd.google-earth.kml+xml 0 +application/vnd.google-earth.kmz 0 +application/vnd.gov.sk.e-form+xml 0 +application/vnd.gov.sk.e-form+zip 0 +application/vnd.gov.sk.xmldatacontainer+xml 0 +application/vnd.grafeq 0 +application/vnd.gridmp 0 +application/vnd.groove-account 0 +application/vnd.groove-help 0 +application/vnd.groove-identity-message 0 +application/vnd.groove-injector 0 +application/vnd.groove-tool-message 0 +application/vnd.groove-tool-template 0 +application/vnd.groove-vcard 0 +application/vnd.hal+json 0 +application/vnd.hal+xml 0 +application/vnd.hbci 0 +application/vnd.hcl-bireports 0 +application/vnd.hdt 0 +application/vnd.heroku+json 0 +application/vnd.hhe.lesson-player 0 +application/vnd.hp-HPGL 0 +application/vnd.hp-PCL 0 +application/vnd.hp-PCLXL 0 +application/vnd.hp-hpid 0 +application/vnd.hp-hps 0 +application/vnd.hp-jlyt 0 +application/vnd.httphone 0 +application/vnd.hydrostatix.sof-data 0 +application/vnd.hyperdrive+json 0 +application/vnd.hzn-3d-crossword 0 +application/vnd.ibm.MiniPay 0 +application/vnd.ibm.afplinedata 0 +application/vnd.ibm.electronic-media 0 +application/vnd.ibm.modcap 0 +application/vnd.ibm.rights-management 0 +application/vnd.ibm.secure-container 0 +application/vnd.iccprofile 0 +application/vnd.ieee.1905 0 +application/vnd.igloader 0 +application/vnd.immervision-ivp 0 +application/vnd.immervision-ivu 0 +application/vnd.ims.imsccv1p1 0 +application/vnd.ims.imsccv1p2 0 +application/vnd.ims.imsccv1p3 0 +application/vnd.ims.lis.v2.result+json 0 +application/vnd.ims.lti.v2.toolconsumerprofile+json 0 +application/vnd.ims.lti.v2.toolproxy+json 0 +application/vnd.ims.lti.v2.toolproxy.id+json 0 +application/vnd.ims.lti.v2.toolsettings+json 0 +application/vnd.ims.lti.v2.toolsettings.simple+json 0 +application/vnd.informedcontrol.rms+xml 0 +application/vnd.infotech.project 0 +application/vnd.infotech.project+xml 0 +application/vnd.innopath.wamp.notification 0 +application/vnd.insors.igm 0 +application/vnd.intercon.formnet 0 +application/vnd.intergeo 0 +application/vnd.intertrust.digibox 0 +application/vnd.intertrust.nncp 0 +application/vnd.intu.qbo 0 +application/vnd.intu.qfx 0 +application/vnd.iptc.g2.catalogitem+xml 0 +application/vnd.iptc.g2.conceptitem+xml 0 +application/vnd.iptc.g2.knowledgeitem+xml 0 +application/vnd.iptc.g2.newsitem+xml 0 +application/vnd.iptc.g2.newsmessage+xml 0 +application/vnd.iptc.g2.packageitem+xml 0 +application/vnd.iptc.g2.planningitem+xml 0 +application/vnd.ipunplugged.rcprofile 0 +application/vnd.irepository.package+xml 0 +application/vnd.is-xpr 0 +application/vnd.isac.fcs 0 +application/vnd.jam 0 +application/vnd.japannet-directory-service 0 +application/vnd.japannet-jpnstore-wakeup 0 +application/vnd.japannet-payment-wakeup 0 +application/vnd.japannet-registration 0 +application/vnd.japannet-registration-wakeup 0 +application/vnd.japannet-setstore-wakeup 0 +application/vnd.japannet-verification 0 +application/vnd.japannet-verification-wakeup 0 +application/vnd.jcp.javame.midlet-rms 0 +application/vnd.jisp 0 +application/vnd.joost.joda-archive 0 +application/vnd.jsk.isdn-ngn 0 +application/vnd.kahootz 0 +application/vnd.kde.karbon 0 +application/vnd.kde.kchart 0 +application/vnd.kde.kformula 0 +application/vnd.kde.kivio 0 +application/vnd.kde.kontour 0 +application/vnd.kde.kpresenter 0 +application/vnd.kde.kspread 0 +application/vnd.kde.kword 0 +application/vnd.kenameaapp 0 +application/vnd.kidspiration 0 +application/vnd.koan 0 +application/vnd.kodak-descriptor 0 +application/vnd.las.las+xml 0 +application/vnd.liberty-request+xml 0 +application/vnd.llamagraphics.life-balance.desktop 0 +application/vnd.llamagraphics.life-balance.exchange+xml 0 +application/vnd.lotus-1-2-3 0 +application/vnd.lotus-approach 0 +application/vnd.lotus-freelance 0 +application/vnd.lotus-notes 0 +application/vnd.lotus-organizer 0 +application/vnd.lotus-screencam 0 +application/vnd.lotus-wordpro 0 +application/vnd.macports.portpkg 0 +application/vnd.mapbox-vector-tile 0 +application/vnd.marlin.drm.actiontoken+xml 0 +application/vnd.marlin.drm.conftoken+xml 0 +application/vnd.marlin.drm.license+xml 0 +application/vnd.marlin.drm.mdcf 0 +application/vnd.mason+json 0 +application/vnd.maxmind.maxmind-db 0 +application/vnd.mcd 0 +application/vnd.medcalcdata 0 +application/vnd.mediastation.cdkey 0 +application/vnd.meridian-slingshot 0 +application/vnd.mfmp 0 +application/vnd.micro+json 0 +application/vnd.micrografx-igx 0 +application/vnd.micrografx.flo 0 +application/vnd.microsoft.portable-executable 0 +application/vnd.miele+json 0 +application/vnd.minisoft-hp3000-save 0 +application/vnd.mitsubishi.misty-guard.trustweb 0 +application/vnd.mophun.application 0 +application/vnd.mophun.certificate 0 +application/vnd.motorola.flexsuite 0 +application/vnd.motorola.flexsuite.adsi 0 +application/vnd.motorola.flexsuite.fis 0 +application/vnd.motorola.flexsuite.gotap 0 +application/vnd.motorola.flexsuite.kmr 0 +application/vnd.motorola.flexsuite.ttc 0 +application/vnd.motorola.flexsuite.wem 0 +application/vnd.motorola.iprm 0 +application/vnd.mozilla.xul+xml 0 +application/vnd.ms-3mfdocument 0 +application/vnd.ms-PrintDeviceCapabilities+xml 0 +application/vnd.ms-artgalry 0 +application/vnd.ms-asf 0 +application/vnd.ms-cab-compressed 0 +application/vnd.ms-excel 0 +application/vnd.ms-excel.addin.macroEnabled.12 0 +application/vnd.ms-excel.sheet.binary.macroEnabled.12 0 +application/vnd.ms-excel.sheet.macroEnabled.12 0 +application/vnd.ms-excel.template.macroEnabled.12 0 +application/vnd.ms-fontobject 0 +application/vnd.ms-htmlhelp 0 +application/vnd.ms-ims 0 +application/vnd.ms-lrm 0 +application/vnd.ms-office.activeX+xml 0 +application/vnd.ms-officetheme 0 +application/vnd.ms-playready.initiator+xml 0 +application/vnd.ms-powerpoint 0 +application/vnd.ms-powerpoint.addin.macroEnabled.12 0 +application/vnd.ms-powerpoint.presentation.macroEnabled.12 0 +application/vnd.ms-powerpoint.slide.macroEnabled.12 0 +application/vnd.ms-powerpoint.slideshow.macroEnabled.12 0 +application/vnd.ms-powerpoint.template.macroEnabled.12 0 +application/vnd.ms-project 0 +application/vnd.ms-tnef 0 +application/vnd.ms-windows.devicepairing 0 +application/vnd.ms-windows.nwprinting.oob 0 +application/vnd.ms-windows.printerpairing 0 +application/vnd.ms-windows.wsd.oob 0 +application/vnd.ms-wmdrm.lic-chlg-req 0 +application/vnd.ms-wmdrm.lic-resp 0 +application/vnd.ms-wmdrm.meter-chlg-req 0 +application/vnd.ms-wmdrm.meter-resp 0 +application/vnd.ms-word.document.macroEnabled.12 0 +application/vnd.ms-word.template.macroEnabled.12 0 +application/vnd.ms-works 0 +application/vnd.ms-wpl 0 +application/vnd.ms-xpsdocument 0 +application/vnd.msa-disk-image 0 +application/vnd.mseq 0 +application/vnd.msign 0 +application/vnd.multiad.creator 0 +application/vnd.multiad.creator.cif 0 +application/vnd.music-niff 0 +application/vnd.musician 0 +application/vnd.muvee.style 0 +application/vnd.mynfc 0 +application/vnd.ncd.control 0 +application/vnd.ncd.reference 0 +application/vnd.nervana 0 +application/vnd.netfpx 0 +application/vnd.neurolanguage.nlu 0 +application/vnd.nintendo.nitro.rom 0 +application/vnd.nintendo.snes.rom 0 +application/vnd.nitf 0 +application/vnd.noblenet-directory 0 +application/vnd.noblenet-sealer 0 +application/vnd.noblenet-web 0 +application/vnd.nokia.catalogs 0 +application/vnd.nokia.conml+wbxml 0 +application/vnd.nokia.conml+xml 0 +application/vnd.nokia.iSDS-radio-presets 0 +application/vnd.nokia.iptv.config+xml 0 +application/vnd.nokia.landmark+wbxml 0 +application/vnd.nokia.landmark+xml 0 +application/vnd.nokia.landmarkcollection+xml 0 +application/vnd.nokia.n-gage.ac+xml 0 +application/vnd.nokia.n-gage.data 0 +application/vnd.nokia.n-gage.symbian.install 0 +application/vnd.nokia.ncd 0 +application/vnd.nokia.pcd+wbxml 0 +application/vnd.nokia.pcd+xml 0 +application/vnd.nokia.radio-preset 0 +application/vnd.nokia.radio-presets 0 +application/vnd.novadigm.EDM 0 +application/vnd.novadigm.EDX 0 +application/vnd.novadigm.EXT 0 +application/vnd.ntt-local.content-share 0 +application/vnd.ntt-local.file-transfer 0 +application/vnd.ntt-local.ogw_remote-access 0 +application/vnd.ntt-local.sip-ta_remote 0 +application/vnd.ntt-local.sip-ta_tcp_stream 0 +application/vnd.oasis.opendocument.chart 0 +application/vnd.oasis.opendocument.chart-template 0 +application/vnd.oasis.opendocument.database 0 +application/vnd.oasis.opendocument.formula 0 +application/vnd.oasis.opendocument.formula-template 0 +application/vnd.oasis.opendocument.graphics 0 +application/vnd.oasis.opendocument.graphics-template 0 +application/vnd.oasis.opendocument.image 0 +application/vnd.oasis.opendocument.image-template 0 +application/vnd.oasis.opendocument.presentation 0 +application/vnd.oasis.opendocument.presentation-template 0 +application/vnd.oasis.opendocument.spreadsheet 0 +application/vnd.oasis.opendocument.spreadsheet-template 0 +application/vnd.oasis.opendocument.text 0 +application/vnd.oasis.opendocument.text-master 0 +application/vnd.oasis.opendocument.text-template 0 +application/vnd.oasis.opendocument.text-web 0 +application/vnd.obn 0 +application/vnd.oftn.l10n+json 0 +application/vnd.oipf.contentaccessdownload+xml 0 +application/vnd.oipf.contentaccessstreaming+xml 0 +application/vnd.oipf.cspg-hexbinary 0 +application/vnd.oipf.dae.svg+xml 0 +application/vnd.oipf.dae.xhtml+xml 0 +application/vnd.oipf.mippvcontrolmessage+xml 0 +application/vnd.oipf.pae.gem 0 +application/vnd.oipf.spdiscovery+xml 0 +application/vnd.oipf.spdlist+xml 0 +application/vnd.oipf.ueprofile+xml 0 +application/vnd.oipf.userprofile+xml 0 +application/vnd.olpc-sugar 0 +application/vnd.oma-scws-config 0 +application/vnd.oma-scws-http-request 0 +application/vnd.oma-scws-http-response 0 +application/vnd.oma.bcast.associated-procedure-parameter+xml 0 +application/vnd.oma.bcast.drm-trigger+xml 0 +application/vnd.oma.bcast.imd+xml 0 +application/vnd.oma.bcast.ltkm 0 +application/vnd.oma.bcast.notification+xml 0 +application/vnd.oma.bcast.provisioningtrigger 0 +application/vnd.oma.bcast.sgboot 0 +application/vnd.oma.bcast.sgdd+xml 0 +application/vnd.oma.bcast.sgdu 0 +application/vnd.oma.bcast.simple-symbol-container 0 +application/vnd.oma.bcast.smartcard-trigger+xml 0 +application/vnd.oma.bcast.sprov+xml 0 +application/vnd.oma.bcast.stkm 0 +application/vnd.oma.cab-address-book+xml 0 +application/vnd.oma.cab-feature-handler+xml 0 +application/vnd.oma.cab-pcc+xml 0 +application/vnd.oma.cab-subs-invite+xml 0 +application/vnd.oma.cab-user-prefs+xml 0 +application/vnd.oma.dcd 0 +application/vnd.oma.dcdc 0 +application/vnd.oma.dd2+xml 0 +application/vnd.oma.drm.risd+xml 0 +application/vnd.oma.group-usage-list+xml 0 +application/vnd.oma.pal+xml 0 +application/vnd.oma.poc.detailed-progress-report+xml 0 +application/vnd.oma.poc.final-report+xml 0 +application/vnd.oma.poc.groups+xml 0 +application/vnd.oma.poc.invocation-descriptor+xml 0 +application/vnd.oma.poc.optimized-progress-report+xml 0 +application/vnd.oma.push 0 +application/vnd.oma.scidm.messages+xml 0 +application/vnd.oma.xcap-directory+xml 0 +application/vnd.omads-email+xml 0 +application/vnd.omads-file+xml 0 +application/vnd.omads-folder+xml 0 +application/vnd.omaloc-supl-init 0 +application/vnd.openblox.game+xml 0 +application/vnd.openblox.game-binary 0 +application/vnd.openeye.oeb 0 +application/vnd.openxmlformats-officedocument.custom-properties+xml 0 +application/vnd.openxmlformats-officedocument.customXmlProperties+xml 0 +application/vnd.openxmlformats-officedocument.drawing+xml 0 +application/vnd.openxmlformats-officedocument.drawingml.chart+xml 0 +application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml 0 +application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml 0 +application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml 0 +application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml 0 +application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml 0 +application/vnd.openxmlformats-officedocument.extended-properties+xml 0 +application/vnd.openxmlformats-officedocument.presentationml-template 0 +application/vnd.openxmlformats-officedocument.presentationml.commentAuthors+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.comments+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.handoutMaster+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.notesMaster+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.notesSlide+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.presProps+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.presentation 0 +application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.slide 0 +application/vnd.openxmlformats-officedocument.presentationml.slide+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.slideUpdateInfo+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.slideshow 0 +application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.tags+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.template.main+xml 0 +application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml-template 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml 0 +application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml 0 +application/vnd.openxmlformats-officedocument.theme+xml 0 +application/vnd.openxmlformats-officedocument.themeOverride+xml 0 +application/vnd.openxmlformats-officedocument.vmlDrawing 0 +application/vnd.openxmlformats-officedocument.wordprocessingml-template 0 +application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml 0 +application/vnd.openxmlformats-officedocument.wordprocessingml.document 0 +application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml 0 +application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml 0 +application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml 0 +application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml 0 +application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml 0 +application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml 0 +application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml 0 +application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml 0 +application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml 0 +application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml 0 +application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml 0 +application/vnd.openxmlformats-package.core-properties+xml 0 +application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml 0 +application/vnd.openxmlformats-package.relationships+xml 0 +application/vnd.oracle.resource+json 0 +application/vnd.orange.indata 0 +application/vnd.osa.netdeploy 0 +application/vnd.osgeo.mapguide.package 0 +application/vnd.osgi.bundle 0 +application/vnd.osgi.dp 0 +application/vnd.osgi.subsystem 0 +application/vnd.otps.ct-kip+xml 0 +application/vnd.oxli.countgraph 0 +application/vnd.pagerduty+json 0 +application/vnd.palm 0 +application/vnd.panoply 0 +application/vnd.paos+xml 0 +application/vnd.pawaafile 0 +application/vnd.pcos 0 +application/vnd.pg.format 0 +application/vnd.pg.osasli 0 +application/vnd.piaccess.application-licence 0 +application/vnd.picsel 0 +application/vnd.pmi.widget 0 +application/vnd.poc.group-advertisement+xml 0 +application/vnd.pocketlearn 0 +application/vnd.powerbuilder6 0 +application/vnd.powerbuilder6-s 0 +application/vnd.powerbuilder7 0 +application/vnd.powerbuilder7-s 0 +application/vnd.powerbuilder75 0 +application/vnd.powerbuilder75-s 0 +application/vnd.preminet 0 +application/vnd.previewsystems.box 0 +application/vnd.proteus.magazine 0 +application/vnd.publishare-delta-tree 0 +application/vnd.pvi.ptid1 0 +application/vnd.pwg-multiplexed 0 +application/vnd.pwg-xhtml-print+xml 0 +application/vnd.qualcomm.brew-app-res 0 +application/vnd.quobject-quoxdocument 0 +application/vnd.radisys.moml+xml 0 +application/vnd.radisys.msml+xml 0 +application/vnd.radisys.msml-audit+xml 0 +application/vnd.radisys.msml-audit-conf+xml 0 +application/vnd.radisys.msml-audit-conn+xml 0 +application/vnd.radisys.msml-audit-dialog+xml 0 +application/vnd.radisys.msml-audit-stream+xml 0 +application/vnd.radisys.msml-conf+xml 0 +application/vnd.radisys.msml-dialog+xml 0 +application/vnd.radisys.msml-dialog-base+xml 0 +application/vnd.radisys.msml-dialog-fax-detect+xml 0 +application/vnd.radisys.msml-dialog-fax-sendrecv+xml 0 +application/vnd.radisys.msml-dialog-group+xml 0 +application/vnd.radisys.msml-dialog-speech+xml 0 +application/vnd.radisys.msml-dialog-transform+xml 0 +application/vnd.rainstor.data 0 +application/vnd.rapid 0 +application/vnd.realvnc.bed 0 +application/vnd.recordare.musicxml 0 +application/vnd.recordare.musicxml+xml 0 +application/vnd.renlearn.rlprint 0 +application/vnd.rig.cryptonote 0 +application/vnd.route66.link66+xml 0 +application/vnd.rs-274x 0 +application/vnd.ruckus.download 0 +application/vnd.s3sms 0 +application/vnd.sailingtracker.track 0 +application/vnd.sbm.cid 0 +application/vnd.sbm.mid2 0 +application/vnd.scribus 0 +application/vnd.sealed-doc 0 +application/vnd.sealed-eml 0 +application/vnd.sealed-mht 0 +application/vnd.sealed-ppt 0 +application/vnd.sealed-tiff 0 +application/vnd.sealed-xls 0 +application/vnd.sealed.3df 0 +application/vnd.sealed.csf 0 +application/vnd.sealed.net 0 +application/vnd.sealedmedia.softseal-html 0 +application/vnd.sealedmedia.softseal-pdf 0 +application/vnd.seemail 0 +application/vnd.semd 0 +application/vnd.semf 0 +application/vnd.shana.informed.formdata 0 +application/vnd.shana.informed.formtemplate 0 +application/vnd.shana.informed.interchange 0 +application/vnd.shana.informed.package 0 +application/vnd.siren+json 0 +application/vnd.smaf 0 +application/vnd.smart.notebook 0 +application/vnd.smart.teacher 0 +application/vnd.software602.filler.form+xml 0 +application/vnd.software602.filler.form-xml-zip 0 +application/vnd.solent.sdkm+xml 0 +application/vnd.spotfire.dxp 0 +application/vnd.spotfire.sfs 0 +application/vnd.sss-cod 0 +application/vnd.sss-dtf 0 +application/vnd.sss-ntf 0 +application/vnd.stepmania.package 0 +application/vnd.stepmania.stepchart 0 +application/vnd.street-stream 0 +application/vnd.sun.wadl+xml 0 +application/vnd.sus-calendar 0 +application/vnd.svd 0 +application/vnd.swiftview-ics 0 +application/vnd.syncml+xml 0 +application/vnd.syncml.dm+wbxml 0 +application/vnd.syncml.dm+xml 0 +application/vnd.syncml.dm.notification 0 +application/vnd.syncml.dmddf+wbxml 0 +application/vnd.syncml.dmddf+xml 0 +application/vnd.syncml.dmtnds+wbxml 0 +application/vnd.syncml.dmtnds+xml 0 +application/vnd.syncml.ds.notification 0 +application/vnd.tao.intent-module-archive 0 +application/vnd.tcpdump.pcap 0 +application/vnd.tmd.mediaflex.api+xml 0 +application/vnd.tml 0 +application/vnd.tmobile-livetv 0 +application/vnd.trid.tpt 0 +application/vnd.triscape.mxs 0 +application/vnd.trueapp 0 +application/vnd.truedoc 0 +application/vnd.ubisoft.webplayer 0 +application/vnd.ufdl 0 +application/vnd.uiq.theme 0 +application/vnd.umajin 0 +application/vnd.unity 0 +application/vnd.uoml+xml 0 +application/vnd.uplanet.alert 0 +application/vnd.uplanet.alert-wbxml 0 +application/vnd.uplanet.bearer-choice 0 +application/vnd.uplanet.bearer-choice-wbxml 0 +application/vnd.uplanet.cacheop 0 +application/vnd.uplanet.cacheop-wbxml 0 +application/vnd.uplanet.channel 0 +application/vnd.uplanet.channel-wbxml 0 +application/vnd.uplanet.list 0 +application/vnd.uplanet.list-wbxml 0 +application/vnd.uplanet.listcmd 0 +application/vnd.uplanet.listcmd-wbxml 0 +application/vnd.uplanet.signal 0 +application/vnd.uri-map 0 +application/vnd.valve.source.material 0 +application/vnd.vcx 0 +application/vnd.vd-study 0 +application/vnd.vectorworks 0 +application/vnd.verimatrix.vcas 0 +application/vnd.vidsoft.vidconference 0 +application/vnd.visio 0 +application/vnd.visionary 0 +application/vnd.vividence.scriptfile 0 +application/vnd.vsf 0 +application/vnd.wap-slc 0 +application/vnd.wap-wbxml 0 +application/vnd.wap.sic 0 +application/vnd.wap.wmlscriptc 0 +application/vnd.webturbo 0 +application/vnd.wfa.p2p 0 +application/vnd.wfa.wsc 0 +application/vnd.windows.devicepairing 0 +application/vnd.wmc 0 +application/vnd.wmf.bootstrap 0 +application/vnd.wolfram.mathematica 0 +application/vnd.wolfram.mathematica.package 0 +application/vnd.wolfram.player 0 +application/vnd.wordperfect 0 +application/vnd.wqd 0 +application/vnd.wrq-hp3000-labelled 0 +application/vnd.wt.stf 0 +application/vnd.wv.csp+wbxml 0 +application/vnd.wv.csp+xml 0 +application/vnd.wv.ssp+xml 0 +application/vnd.xacml+json 0 +application/vnd.xara 0 +application/vnd.xfdl 0 +application/vnd.xfdl.webform 0 +application/vnd.xmi+xml 0 +application/vnd.xmpie.cpkg 0 +application/vnd.xmpie.dpkg 0 +application/vnd.xmpie.plan 0 +application/vnd.xmpie.ppkg 0 +application/vnd.xmpie.xlim 0 +application/vnd.yamaha.hv-dic 0 +application/vnd.yamaha.hv-script 0 +application/vnd.yamaha.hv-voice 0 +application/vnd.yamaha.openscoreformat 0 +application/vnd.yamaha.openscoreformat.osfpvg+xml 0 +application/vnd.yamaha.remote-setup 0 +application/vnd.yamaha.smaf-audio 0 +application/vnd.yamaha.smaf-phrase 0 +application/vnd.yamaha.through-ngn 0 +application/vnd.yamaha.tunnel-udpencap 0 +application/vnd.yaoweme 0 +application/vnd.yellowriver-custom-menu 0 +application/vnd.zul 0 +application/vnd.zzazz.deck+xml 0 +application/voicexml+xml 0 +application/vq-rtcpxr 0 +application/watcherinfo+xml 0 +application/whoispp-query 0 +application/whoispp-response 0 +application/wita 0 +application/wordperfect5.1 0 +application/wsdl+xml 0 +application/wspolicy+xml 0 +application/x-www-form-urlencoded 0 +application/x400-bp 0 +application/xacml+xml 0 +application/xcap-att+xml 0 +application/xcap-caps+xml 0 +application/xcap-diff+xml 0 +application/xcap-el+xml 0 +application/xcap-error+xml 0 +application/xcap-ns+xml 0 +application/xcon-conference-info+xml 0 +application/xcon-conference-info-diff+xml 0 +application/xenc+xml 0 +application/xhtml+xml 0 +application/xml 0 +application/xml-dtd 0 +application/xml-external-parsed-entity 0 +application/xml-patch+xml 0 +application/xmpp+xml 0 +application/xop+xml 0 +application/xv+xml 0 +application/yang 0 +application/yin+xml 0 +application/zip 0 +application/zlib 0 +audio/1d-interleaved-parityfec 0 +audio/32kadpcm 0 +audio/3gpp 0 +audio/3gpp2 0 +audio/AMR 0 +audio/AMR-WB 0 +audio/ATRAC-ADVANCED-LOSSLESS 0 +audio/ATRAC-X 0 +audio/ATRAC3 0 +audio/BV16 0 +audio/BV32 0 +audio/CN 0 +audio/DAT12 0 +audio/DV 0 +audio/DVI4 0 +audio/EVRC 0 +audio/EVRC-QCP 0 +audio/EVRC0 0 +audio/EVRC1 0 +audio/EVRCB 0 +audio/EVRCB0 0 +audio/EVRCB1 0 +audio/EVRCNW 0 +audio/EVRCNW0 0 +audio/EVRCNW1 0 +audio/EVRCWB 0 +audio/EVRCWB0 0 +audio/EVRCWB1 0 +audio/EVS 0 +audio/G711-0 0 +audio/G719 0 +audio/G722 0 +audio/G7221 0 +audio/G723 0 +audio/G726-16 0 +audio/G726-24 0 +audio/G726-32 0 +audio/G726-40 0 +audio/G728 0 +audio/G729 0 +audio/G729D 0 +audio/G729E 0 +audio/GSM 0 +audio/GSM-EFR 0 +audio/GSM-HR-08 0 +audio/L16 0 +audio/L20 0 +audio/L24 0 +audio/L8 0 +audio/LPC 0 +audio/MP4A-LATM 0 +audio/MPA 0 +audio/PCMA 0 +audio/PCMA-WB 0 +audio/PCMU 0 +audio/PCMU-WB 0 +audio/RED 0 +audio/SMV 0 +audio/SMV-QCP 0 +audio/SMV0 0 +audio/UEMCLIP 0 +audio/VDVI 0 +audio/VMR-WB 0 +audio/ac3 0 +audio/amr-wb+ 0 +audio/aptx 0 +audio/asc 0 +audio/basic 0 +audio/clearmode 0 +audio/dls 0 +audio/dsr-es201108 0 +audio/dsr-es202050 0 +audio/dsr-es202211 0 +audio/dsr-es202212 0 +audio/eac3 0 +audio/encaprtp 0 +audio/example 0 +audio/fwdred 0 +audio/iLBC 0 +audio/ip-mr_v2.5 0 +audio/mobile-xmf 0 +audio/mp4 0 +audio/mpa-robust 0 +audio/mpeg 0 +audio/mpeg4-generic 0 +audio/ogg 0 +audio/opus 0 +audio/prs.sid 0 +audio/qcelp 0 +audio/raptorfec 0 +audio/rtp-enc-aescm128 0 +audio/rtp-midi 0 +audio/rtploopback 0 +audio/rtx 0 +audio/sp-midi 0 +audio/speex 0 +audio/t140c 0 +audio/t38 0 +audio/telephone-event 0 +audio/tone 0 +audio/ulpfec 0 +audio/vnd.3gpp.iufp 0 +audio/vnd.4SB 0 +audio/vnd.CELP 0 +audio/vnd.audiokoz 0 +audio/vnd.cisco.nse 0 +audio/vnd.cmles.radio-events 0 +audio/vnd.cns.anp1 0 +audio/vnd.cns.inf1 0 +audio/vnd.dece.audio 0 +audio/vnd.digital-winds 0 +audio/vnd.dlna.adts 0 +audio/vnd.dolby.heaac.1 0 +audio/vnd.dolby.heaac.2 0 +audio/vnd.dolby.mlp 0 +audio/vnd.dolby.mps 0 +audio/vnd.dolby.pl2 0 +audio/vnd.dolby.pl2x 0 +audio/vnd.dolby.pl2z 0 +audio/vnd.dolby.pulse.1 0 +audio/vnd.dra 0 +audio/vnd.dts 0 +audio/vnd.dts.hd 0 +audio/vnd.dvb.file 0 +audio/vnd.everad.plj 0 +audio/vnd.hns.audio 0 +audio/vnd.lucent.voice 0 +audio/vnd.ms-playready.media.pya 0 +audio/vnd.nokia.mobile-xmf 0 +audio/vnd.nortel.vbk 0 +audio/vnd.nuera.ecelp4800 0 +audio/vnd.nuera.ecelp7470 0 +audio/vnd.nuera.ecelp9600 0 +audio/vnd.octel.sbc 0 +audio/vnd.rhetorex.32kadpcm 0 +audio/vnd.rip 0 +audio/vnd.sealedmedia.softseal-mpeg 0 +audio/vnd.vmx.cvsd 0 +audio/vorbis 0 +audio/vorbis-config 0 +image/cgm 0 +image/example 0 +image/fits 0 +image/g3fax 0 +image/jp2 0 +image/jpm 0 +image/jpx 0 +image/naplps 0 +image/png 0 +image/prs.btif 0 +image/prs.pti 0 +image/pwg-raster 0 +image/t38 0 +image/tiff 0 +image/tiff-fx 0 +image/vnd-djvu 0 +image/vnd-svf 0 +image/vnd-wap-wbmp 0 +image/vnd.adobe.photoshop 0 +image/vnd.airzip.accelerator.azv 0 +image/vnd.cns.inf2 0 +image/vnd.dece.graphic 0 +image/vnd.dvb.subtitle 0 +image/vnd.dwg 0 +image/vnd.dxf 0 +image/vnd.fastbidsheet 0 +image/vnd.fpx 0 +image/vnd.fst 0 +image/vnd.fujixerox.edmics-mmr 0 +image/vnd.fujixerox.edmics-rlc 0 +image/vnd.globalgraphics.pgb 0 +image/vnd.microsoft.icon 0 +image/vnd.mix 0 +image/vnd.mozilla.apng 0 +image/vnd.ms-modi 0 +image/vnd.net-fpx 0 +image/vnd.radiance 0 +image/vnd.sealed-png 0 +image/vnd.sealedmedia.softseal-gif 0 +image/vnd.sealedmedia.softseal-jpg 0 +image/vnd.tencent.tap 0 +image/vnd.valve.source.texture 0 +image/vnd.xiff 0 +image/vnd.zbrush.pcx 0 +message/CPIM 0 +message/delivery-status 0 +message/disposition-notification 0 +message/example 0 +message/feedback-report 0 +message/global 0 +message/global-delivery-status 0 +message/global-disposition-notification 0 +message/global-headers 0 +message/http 0 +message/imdn+xml 0 +message/news 0 +message/s-http 0 +message/sip 0 +message/sipfrag 0 +message/tracking-status 0 +message/vnd.si.simp 0 +message/vnd.wfa.wsc 0 +model/example 0 +model/iges 0 +model/vnd-dwf 0 +model/vnd.collada+xml 0 +model/vnd.flatland.3dml 0 +model/vnd.gdl 0 +model/vnd.gs-gdl 0 +model/vnd.gtw 0 +model/vnd.moml+xml 0 +model/vnd.mts 0 +model/vnd.opengex 0 +model/vnd.parasolid.transmit-binary 0 +model/vnd.parasolid.transmit-text 0 +model/vnd.valve.source.compiled-map 0 +model/vnd.vtu 0 +model/x3d+fastinfoset 0 +model/x3d+xml 0 +model/x3d-vrml 0 +multipart/alternative -1 +multipart/mixed -1 +multipart/appledouble 2 +multipart/byteranges 2 +multipart/encrypted -2 +multipart/example 2 +multipart/form-data 2 +multipart/header-set 2 +multipart/related -1 +multipart/report 2 +multipart/signed -2 +multipart/voice-message 2 +multipart/x-mixed-replace 2 +text/1d-interleaved-parityfec 0 +text/RED 0 +text/SGML 0 +text/cache-manifest 0 +text/calendar 0 +text/css 0 +text/csv 0 +text/csv-schema 0 +text/directory 0 +text/dns 0 +text/encaprtp 0 +text/example 0 +text/fwdred 0 +text/grammar-ref-list 0 +text/html 0 +text/jcr-cnd 0 +text/markdown 0 +text/mizar 0 +text/n3 0 +text/parameters 0 +text/provenance-notation 0 +text/prs.fallenstein.rst 0 +text/prs.lines.tag 0 +text/plain -1 +text/raptorfec 0 +text/rfc822-headers 0 +text/rtf 0 +text/rtp-enc-aescm128 0 +text/rtploopback 0 +text/rtx 0 +text/t140 0 +text/tab-separated-values 0 +text/troff 0 +text/turtle 0 +text/ulpfec 0 +text/uri-list 0 +text/vcard 0 +text/vnd-a 0 +text/vnd-curl 0 +text/vnd.DMClientScript 0 +text/vnd.IPTC.NITF 0 +text/vnd.IPTC.NewsML 0 +text/vnd.abc 0 +text/vnd.debian.copyright 0 +text/vnd.dvb.subtitle 0 +text/vnd.esmertec.theme-descriptor 0 +text/vnd.fly 0 +text/vnd.fmi.flexstor 0 +text/vnd.graphviz 0 +text/vnd.in3d.3dml 0 +text/vnd.in3d.spot 0 +text/vnd.latex-z 0 +text/vnd.motorola.reflex 0 +text/vnd.ms-mediapackage 0 +text/vnd.net2phone.commcenter.command 0 +text/vnd.radisys.msml-basic-layout 0 +text/vnd.si.uricatalogue 0 +text/vnd.sun.j2me.app-descriptor 0 +text/vnd.trolltech.linguist 0 +text/vnd.wap-wml 0 +text/vnd.wap.si 0 +text/vnd.wap.sl 0 +text/vnd.wap.wmlscript 0 +text/xml 0 +text/xml-external-parsed-entity 0 +video/1d-interleaved-parityfec 0 +video/3gpp 0 +video/3gpp-tt 0 +video/3gpp2 0 +video/BMPEG 0 +video/BT656 0 +video/CelB 0 +video/DV 0 +video/H261 0 +video/H263 0 +video/H263-1998 0 +video/H263-2000 0 +video/H264 0 +video/H264-RCDO 0 +video/H264-SVC 0 +video/H265 0 +video/JPEG 0 +video/MP1S 0 +video/MP2P 0 +video/MP2T 0 +video/MP4V-ES 0 +video/MPV 0 +video/SMPTE292M 0 +video/VP8 0 +video/encaprtp 0 +video/example 0 +video/iso.segment 0 +video/jpeg2000 0 +video/mj2 0 +video/mp4 0 +video/mpeg4-generic 0 +video/nv 0 +video/ogg 0 +video/pointer 0 +video/quicktime 0 +video/raptorfec 0 +video/rtp-enc-aescm128 0 +video/rtploopback 0 +video/rtx 0 +video/ulpfec 0 +video/vc1 0 +video/vnd-mpegurl 0 +video/vnd-vivo 0 +video/vnd.CCTV 0 +video/vnd.dece-mp4 0 +video/vnd.dece.hd 0 +video/vnd.dece.mobile 0 +video/vnd.dece.pd 0 +video/vnd.dece.sd 0 +video/vnd.dece.video 0 +video/vnd.directv-mpeg 0 +video/vnd.directv.mpeg-tts 0 +video/vnd.dlna.mpeg-tts 0 +video/vnd.dvb.file 0 +video/vnd.fvt 0 +video/vnd.hns.video 0 +video/vnd.iptvforum.1dparityfec-1010 0 +video/vnd.iptvforum.1dparityfec-2005 0 +video/vnd.iptvforum.2dparityfec-1010 0 +video/vnd.iptvforum.2dparityfec-2005 0 +video/vnd.iptvforum.ttsavc 0 +video/vnd.iptvforum.ttsmpeg2 0 +video/vnd.motorola.video 0 +video/vnd.motorola.videop 0 +video/vnd.ms-playready.media.pyv 0 +video/vnd.nokia.interleaved-multimedia 0 +video/vnd.nokia.videovoip 0 +video/vnd.objectvideo 0 +video/vnd.radgamettools.bink 0 +video/vnd.radgamettools.smacker 0 +video/vnd.sealed-swf 0 +video/vnd.sealed.mpeg1 0 +video/vnd.sealed.mpeg4 0 +video/vnd.sealedmedia.softseal-mov 0 +video/vnd.uvvu-mp4 0 diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua new file mode 100644 index 000000000..dc94d9534 --- /dev/null +++ b/src/plugins/lua/mime_types.lua @@ -0,0 +1,86 @@ +--[[ +Copyright (c) 2016, Vsevolod Stakhov +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +]]-- + +-- This plugin implements mime types checks for mail messages +local rspamd_logger = require "rspamd_logger" + +local settings = { + file = '', + symbol_unknown = 'MIME_UNKNOWN', + symbol_bad = 'MIME_BAD', + symbol_good = 'MIME_GOOD', +} + +local map = nil + +local function check_mime_type(task) + local parts = task:get_parts() + + if parts then + for _,p in ipairs(parts) do + local type,subtype = p:get_type() + + if not type then + task:insert_result(settings['symbol_unknown'], 1.0, 'missing content type') + else + local ct = string.format('%s/%s', type, subtype) + local v = map:get_key(ct) + if v then + local n = tonumber(v) + + if n > 0 then + task:insert_result(settings['symbol_bad'], n, ct) + elseif n < 0 then + task:insert_result(settings['symbol_good'], -n, ct) + end + else + task:insert_result(settings['symbol_unknown'], 1.0, ct) + end + end + end + end +end + +local opts = rspamd_config:get_all_opt('mime_types') +if opts then + for k,v in pairs(opts) do + settings[k] = v + end + + if settings['file'] and #settings['file'] > 0 then + map = rspamd_config:add_kv_map (settings['file'], + 'mime types map') + if map then + local id = rspamd_config:register_callback_symbol(1.0, check_mime_type) + rspamd_config:register_virtual_symbol(settings['symbol_unknown'], 1.0, id) + rspamd_config:register_virtual_symbol(settings['symbol_bad'], 1.0, id) + rspamd_config:register_virtual_symbol(settings['symbol_good'], 1.0, id) + else + rspamd_logger.warnx(rspamd_config, 'Cannot add mime_types: map doesn\'t exists: %1', + settings['file']) + end + end +end \ No newline at end of file