问题描述:邮件中的附件是Office2007格式,单击文件名时,弹出的另存为页面,将附件自动存为了zip格式,而且解压后不是正确的Office2007文件格式。
原因:因为Microsoft Office 2007 MIME格式未列在Domino Web Server metabase(httpd.cnf)中,所以导致请求一个Microsoft Office2007文件时,被当作未知类型的请求处理。此时服务器会使用“Application/octet-stream”内容作为返回来替代Office 2007 MIME类型。
受影响版本:6.x,7.x,8.0.x,8.5,8.5.1
解决办法:修改httpd.cnf,在文件后添加以下:
01
#
02
# Microsoft Office 2007 formats
03
#
04
AddType .docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
05
AddType .dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template
06
AddType .xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
07
AddType .xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template
08
AddType .pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
09
AddType .potx application/vnd.openxmlformats-officedocument.presentationml.template
10
AddType .ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow
重启domio服务器即可。
注:此问题在8.5.2中已修复。
参考文档:http://www-01.ibm.com/support/docview.wss?rs=899&uid=swg21412063
【SIP协议】学习初学笔记
【协议学习】SIP基本场景分析
电话的前世今生
深入浅出SIP协议
QVariant类及QVariant与自定义数据类型转换的方法
Qt中如何根据类名来实例化对象
模板的全特化与偏特化
为什么c++中,有时可以用类名直接访问非静态成员函数?
C++引用详解