Messaging Server 提供了一种称为自动测量的功能,可以将用户的整个 IMAP、POP 或 HTTP 会话捕获到文件中。此功能对调试客户端问题很有用。例如,如果用户抱怨他们的邮件访问客户端未按预期那样工作,则此功能可用于跟踪访问客户端和 Messaging Server 之间的交互作用。
要捕获 POP 会话,请创建以下目录:
msg-svr-base/data/telemetry/ pop_or_imap_or_http/userid
要捕获 POP 会话,请创建以下目录:
msg-svr-base/data/telemetry/pop/ userid
要捕获 IMAP 会话,请创建以下目录:
msg-svr-base/data/telemetry/imap/ userid
要捕获 Webmail 会话,请创建以下目录:
msg-svr-base/data/telemetry/http/ userid
请注意,目录必须由邮件传送服务器 userid 拥有和重写。
Messaging Server 将在此目录中为每个会话创建一个文件。下面显示了输出示例:
LOGIN redb 2003/11/26 13:03:21 >0.017>1 OK User logged in <0.047<2 XSERVERINFO MANAGEACCOUNTURL MANAGELISTSURL MANAGEFILTERSURL >0.003>* XSERVERINFO MANAGEACCOUNTURL {67} http://redb@cuisine.blue.planet.com:800/bin/user/admin/bin/enduser MANAGELISTSURL NIL MANAGEFILTERSURL NIL 2 OK Completed <0.046<3 select "INBOX" >0.236>* FLAGS (\Answered flagged draft deleted \Seen $MDNSent Junk) * OK [PERMANENTFLAGS (\Answered flag draft deleted \Seen $MDNSent Junk \*)] * 1538 EXISTS * 0 RECENT * OK [UNSEEN 23] * OK [UIDVALIDITY 1046219200] * OK [UIDNEXT 1968] 3 OK [READ-WRITE] Completed <0.045<4 UID fetch 1:* (FLAGS) >0.117>* 1 FETCH (FLAGS (\Seen) UID 330) * 2 FETCH (FLAGS (\Seen) UID 331) * 3 FETCH (FLAGS (\Seen) UID 332) * 4 FETCH (FLAGS (\Seen) UID 333) * 5 FETCH (FLAGS (\Seen) UID 334) <etc> |
要禁用自动测量日志记录,请移动或删除您创建的目录。