none
如何查看邮件堵什么地方?-Exchange2010服务器收到邮件后,在投递到内部用户间有延迟 RRS feed

  • 问题

  • Exchange 2010 SP1 HUB/CAS/Mailbox 角色服务器收到邮件后,在投递到内部用户间有延迟,切换DAG后恢复且一分钟内收到前一小时所有邮件,以下为控制台工具箱中"邮件跟踪"及"跟踪日志资源管理器"记录,其中投递报告中邮件到达服务器至最终投递到用户时间间隔很长。 (邮件到达服务器 7/29/2011 5:14 PM, 最终到达用户 7/29/2011 5:58 PM)

    1. 这种投递延迟会与 Mailbox 角色有关么?
    2. 如何利用工具或日志查看邮件堵在什么地方?

    "Delivery Report

    Self-introduction From tom
    From:  tom@xxx.com
    To:  jack
     
    Sent:  7/29/2011 5:14 PM
     
    Delivery Report for  jack ‎(jack@xxx.com)‎

    Pending
    7/29/2011 5:14 PM vitserver005.xxx.com
    Message was received by vitserver005.xxx.com from xxxx.com.cn.

    7/29/2011 5:14 PM vitserver005.xxx.com
    The e-mail address for recipient "jack@xxx.com" was updated to the e-mail address "jack@xxxx.com". The message is in the process of being delivered.

    Delivered
    7/29/2011 5:58 PM vitserver005.xxx.com
    The message was successfully delivered."


    2011年8月1日 9:10

答案

  • 你可以开启message tracking,查看messageinfo,timestamp EventID字段的信息。
    2011年8月2日 9:58
    版主
  • 下面是一个messagetracking log:

    Timestamp               : 8/2/2011 11:12:28 AM
    ClientIp                : fe80::95dd:a901:7b7d:c333
    ClientHostname          : YBE2K7.yb.com
    ServerIp                : fe80::95dd:a901:7b7d:c333%15
    ServerHostname          : YBE2K7
    SourceContext           :
    ConnectorId             :
    Source                  : STOREDRIVER
    EventId                 : RECEIVE
    InternalMessageId       : 1
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C8641F42@YBE2K7.yb.com>
    Recipients              : {yba@yb.com, Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5366
    RecipientCount          : 2
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : test
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             : 04I:

    Timestamp               : 8/2/2011 11:12:28 AM
    ClientIp                :
    ClientHostname          : YBE2K7
    ServerIp                :
    ServerHostname          : ybe2k7
    SourceContext           :
    ConnectorId             :
    Source                  : STOREDRIVER
    EventId                 : DELIVER
    InternalMessageId       : 1
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C8641F42@YBE2K7.yb.com>
    Recipients              : {Administrator@yb.com, yba@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5492
    RecipientCount          : 2
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : test
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             : 8/2/2011 11:12:27 AM

    Timestamp               : 8/2/2011 5:13:55 PM
    ClientIp                : fe80::95dd:a901:7b7d:c333
    ClientHostname          : YBE2K7.yb.com
    ServerIp                : fe80::95dd:a901:7b7d:c333%15
    ServerHostname          : YBE2K7
    SourceContext           :
    ConnectorId             :
    Source                  : STOREDRIVER
    EventId                 : RECEIVE
    InternalMessageId       : 1
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A47@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5109
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : test pipeline tracing
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             : 04I:

    Timestamp               : 8/2/2011 5:14:06 PM
    ClientIp                :
    ClientHostname          :
    ServerIp                :
    ServerHostname          :
    SourceContext           :
    ConnectorId             :
    Source                  : POISONMESSAGE
    EventId                 : POISONMESSAGE
    InternalMessageId       : 1
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A47@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5109
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : test pipeline tracing
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             :

    Timestamp               : 8/2/2011 5:21:15 PM
    ClientIp                :
    ClientHostname          :
    ServerIp                :
    ServerHostname          :
    SourceContext           :
    ConnectorId             :
    Source                  : POISONMESSAGE
    EventId                 : POISONMESSAGE
    InternalMessageId       : 1
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A47@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5109
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : test pipeline tracing
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             :

    Timestamp               : 8/2/2011 5:21:53 PM
    ClientIp                :
    ClientHostname          :
    ServerIp                :
    ServerHostname          :
    SourceContext           :
    ConnectorId             :
    Source                  : POISONMESSAGE
    EventId                 : POISONMESSAGE
    InternalMessageId       : 1
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A47@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5109
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : test pipeline tracing
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             :

    Timestamp               : 8/2/2011 5:23:49 PM
    ClientIp                :
    ClientHostname          : YBE2K7
    ServerIp                :
    ServerHostname          :
    SourceContext           :
    ConnectorId             :
    Source                  : ADMIN
    EventId                 : FAIL
    InternalMessageId       : 1
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A47@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {550 4.3.2 QUEUE.PoisonAdmin; message deleted by admi
                              nistrative action}
    TotalBytes              : 5109
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               : {<aa8e0492-fb5a-49be-8356-46b85d342b7e>}
    MessageSubject          : test pipeline tracing
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             :

    Timestamp               : 8/2/2011 5:29:33 PM
    ClientIp                : fe80::95dd:a901:7b7d:c333
    ClientHostname          : YBE2K7.yb.com
    ServerIp                : fe80::95dd:a901:7b7d:c333%15
    ServerHostname          : YBE2K7
    SourceContext           :
    ConnectorId             :
    Source                  : STOREDRIVER
    EventId                 : RECEIVE
    InternalMessageId       : 3
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A48@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5071
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : pipline tracking
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             : 04I:

    Timestamp               : 8/2/2011 5:29:34 PM
    ClientIp                :
    ClientHostname          : YBE2K7
    ServerIp                :
    ServerHostname          : ybe2k7
    SourceContext           :
    ConnectorId             :
    Source                  : STOREDRIVER
    EventId                 : DELIVER
    InternalMessageId       : 3
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A48@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5197
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : pipline tracking
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             : 8/2/2011 5:29:33 PM

    Timestamp               : 8/3/2011 10:37:37 AM
    ClientIp                : fe80::95dd:a901:7b7d:c333
    ClientHostname          : YBE2K7.yb.com
    ServerIp                : fe80::95dd:a901:7b7d:c333%15
    ServerHostname          : YBE2K7
    SourceContext           :
    ConnectorId             :
    Source                  : STOREDRIVER
    EventId                 : RECEIVE
    InternalMessageId       : 5
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A49@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 4945
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : 1231231
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             : 04I:

    Timestamp               : 8/3/2011 10:37:37 AM
    ClientIp                :
    ClientHostname          : YBE2K7
    ServerIp                :
    ServerHostname          : ybe2k7
    SourceContext           :
    ConnectorId             :
    Source                  : STOREDRIVER
    EventId                 : DELIVER
    InternalMessageId       : 5
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A49@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5071
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : 1231231
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             : 8/3/2011 10:37:37 AM

     

    你可以看我加粗的这些时间,每个时间都有对应的event ID,分析这些id和时间,就可以知道邮件是堵在哪里。

     

     


    2011年8月5日 3:15
    版主

全部回复

  • 你可以开启message tracking,查看messageinfo,timestamp EventID字段的信息。
    2011年8月2日 9:58
    版主
  • 1. 这种投递延迟会与 Mailbox 角色有关么?

    首先这种投递的延迟和MBS角色关系不大,当然前提是你的MBS角色在正常运行,MBS在整个过程中处于被动接收的角色;
    2. 如何利用工具或日志查看邮件堵在什么地方?

    在Exchange中可以使用队列查看器检查邮件在队列中堵塞的情况(相信你已经看过),可以使用邮件跟踪功能,查看当邮件堵塞的时候邮件传递的情况;可以使用Exchange的高级传输日志功能,开启后在事件日志中会记录邮件传递的事件;

    针对你的问题,我之前有遇到类似的在Exchange 2007上,当有很大的邮件堵塞在传输服务器上,会导致传输服务处于假死的状态;

    2011年8月2日 15:13
  • 你可以开启message tracking,查看messageinfo字段的信息。
    谢谢 Jerome 的回复,我在 C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking 找到日志,请问 message info 字段主要指的是什么内容?
    2011年8月3日 5:46
  • 1. 这种投递延迟会与 Mailbox 角色有关么?

    首先这种投递的延迟和MBS角色关系不大,当然前提是你的MBS角色在正常运行,MBS在整个过程中处于被动接收的角色;
    2. 如何利用工具或日志查看邮件堵在什么地方?

    在Exchange中可以使用队列查看器检查邮件在队列中堵塞的情况(相信你已经看过),可以使用邮件跟踪功能,查看当邮件堵塞的时候邮件传递的情况;可以使用Exchange的高级传输日志功能,开启后在事件日志中会记录邮件传递的事件;

    针对你的问题,我之前有遇到类似的在Exchange 2007上,当有很大的邮件堵塞在传输服务器上,会导致传输服务处于假死的状态;

    谢谢 he7yong 的回复,请问Queue Viewer是否可以查到7月29日的排队记录信息? Exchange的高级传输日志功能指的什么?如何开启?...Logs\MessageTracking... 中的日志内容非常多我该如何下手?

     

    2011年8月3日 5:55
  • 你可以开启message tracking,查看messageinfo字段的信息。

    "邮件跟踪"及"跟踪日志资源管理器" 中截图如下,其中 messageinfo 字段的信息为: 00A: NTS: ,请问代表什么意思?

    http://bbs.winos.cn/attachments/month_1108/110801165931e1ba776c61cf63.gif

    http://bbs.winos.cn/attachments/month_1108/11080117000d2bad91a7a116c1.gif

    http://bbs.winos.cn/attachments/month_1108/1108011700f13f9d43005308bd.gif

    2011年8月4日 2:14
  • messageInfo字段包含 DELIVER 和 SEND 事件的邮件起始日期时间。起始日期时间是邮件第一次传入 Exchange 组织的时间。

    另外还可以看Defer字段,这个字段记录邮件传递延迟信息。

    管理邮件跟踪:

    http://technet.microsoft.com/zh-cn/library/bb124375(EXCHG.80).aspx

    我是通过命令来查看的:

    Get-messagetracking  |fl

    中间带上过滤条件。


    2011年8月4日 8:36
    版主
  • 你这边是用了边缘服务器的 地址重写功能么?


    ITPRO 的价值在于分享,程序开发人员的价值在于创造,架构师分析师的价值在于分析出客户潜在需求,项目经理的价值就是搞定客户! ___________________________________________________________ MSN:fogyisland_x@htomai.com QQ:10853913 Blog:http://blog.csdn.net/fogyisland2000 如果一个人将知识带入坟墓,他是可耻的。所以知识需要分享!
    2011年8月4日 15:00
    版主
  • 下面是一个messagetracking log:

    Timestamp               : 8/2/2011 11:12:28 AM
    ClientIp                : fe80::95dd:a901:7b7d:c333
    ClientHostname          : YBE2K7.yb.com
    ServerIp                : fe80::95dd:a901:7b7d:c333%15
    ServerHostname          : YBE2K7
    SourceContext           :
    ConnectorId             :
    Source                  : STOREDRIVER
    EventId                 : RECEIVE
    InternalMessageId       : 1
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C8641F42@YBE2K7.yb.com>
    Recipients              : {yba@yb.com, Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5366
    RecipientCount          : 2
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : test
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             : 04I:

    Timestamp               : 8/2/2011 11:12:28 AM
    ClientIp                :
    ClientHostname          : YBE2K7
    ServerIp                :
    ServerHostname          : ybe2k7
    SourceContext           :
    ConnectorId             :
    Source                  : STOREDRIVER
    EventId                 : DELIVER
    InternalMessageId       : 1
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C8641F42@YBE2K7.yb.com>
    Recipients              : {Administrator@yb.com, yba@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5492
    RecipientCount          : 2
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : test
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             : 8/2/2011 11:12:27 AM

    Timestamp               : 8/2/2011 5:13:55 PM
    ClientIp                : fe80::95dd:a901:7b7d:c333
    ClientHostname          : YBE2K7.yb.com
    ServerIp                : fe80::95dd:a901:7b7d:c333%15
    ServerHostname          : YBE2K7
    SourceContext           :
    ConnectorId             :
    Source                  : STOREDRIVER
    EventId                 : RECEIVE
    InternalMessageId       : 1
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A47@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5109
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : test pipeline tracing
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             : 04I:

    Timestamp               : 8/2/2011 5:14:06 PM
    ClientIp                :
    ClientHostname          :
    ServerIp                :
    ServerHostname          :
    SourceContext           :
    ConnectorId             :
    Source                  : POISONMESSAGE
    EventId                 : POISONMESSAGE
    InternalMessageId       : 1
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A47@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5109
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : test pipeline tracing
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             :

    Timestamp               : 8/2/2011 5:21:15 PM
    ClientIp                :
    ClientHostname          :
    ServerIp                :
    ServerHostname          :
    SourceContext           :
    ConnectorId             :
    Source                  : POISONMESSAGE
    EventId                 : POISONMESSAGE
    InternalMessageId       : 1
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A47@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5109
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : test pipeline tracing
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             :

    Timestamp               : 8/2/2011 5:21:53 PM
    ClientIp                :
    ClientHostname          :
    ServerIp                :
    ServerHostname          :
    SourceContext           :
    ConnectorId             :
    Source                  : POISONMESSAGE
    EventId                 : POISONMESSAGE
    InternalMessageId       : 1
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A47@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5109
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : test pipeline tracing
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             :

    Timestamp               : 8/2/2011 5:23:49 PM
    ClientIp                :
    ClientHostname          : YBE2K7
    ServerIp                :
    ServerHostname          :
    SourceContext           :
    ConnectorId             :
    Source                  : ADMIN
    EventId                 : FAIL
    InternalMessageId       : 1
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A47@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {550 4.3.2 QUEUE.PoisonAdmin; message deleted by admi
                              nistrative action}
    TotalBytes              : 5109
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               : {<aa8e0492-fb5a-49be-8356-46b85d342b7e>}
    MessageSubject          : test pipeline tracing
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             :

    Timestamp               : 8/2/2011 5:29:33 PM
    ClientIp                : fe80::95dd:a901:7b7d:c333
    ClientHostname          : YBE2K7.yb.com
    ServerIp                : fe80::95dd:a901:7b7d:c333%15
    ServerHostname          : YBE2K7
    SourceContext           :
    ConnectorId             :
    Source                  : STOREDRIVER
    EventId                 : RECEIVE
    InternalMessageId       : 3
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A48@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5071
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : pipline tracking
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             : 04I:

    Timestamp               : 8/2/2011 5:29:34 PM
    ClientIp                :
    ClientHostname          : YBE2K7
    ServerIp                :
    ServerHostname          : ybe2k7
    SourceContext           :
    ConnectorId             :
    Source                  : STOREDRIVER
    EventId                 : DELIVER
    InternalMessageId       : 3
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A48@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5197
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : pipline tracking
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             : 8/2/2011 5:29:33 PM

    Timestamp               : 8/3/2011 10:37:37 AM
    ClientIp                : fe80::95dd:a901:7b7d:c333
    ClientHostname          : YBE2K7.yb.com
    ServerIp                : fe80::95dd:a901:7b7d:c333%15
    ServerHostname          : YBE2K7
    SourceContext           :
    ConnectorId             :
    Source                  : STOREDRIVER
    EventId                 : RECEIVE
    InternalMessageId       : 5
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A49@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 4945
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : 1231231
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             : 04I:

    Timestamp               : 8/3/2011 10:37:37 AM
    ClientIp                :
    ClientHostname          : YBE2K7
    ServerIp                :
    ServerHostname          : ybe2k7
    SourceContext           :
    ConnectorId             :
    Source                  : STOREDRIVER
    EventId                 : DELIVER
    InternalMessageId       : 5
    MessageId               : <1D1921EFD57B2B4C882ABB373C72C864085A7A49@YBE2K7.yb.c
                              om>
    Recipients              : {Administrator@yb.com}
    RecipientStatus         : {}
    TotalBytes              : 5071
    RecipientCount          : 1
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : 1231231
    Sender                  : yba@yb.com
    ReturnPath              : yba@yb.com
    MessageInfo             : 8/3/2011 10:37:37 AM

     

    你可以看我加粗的这些时间,每个时间都有对应的event ID,分析这些id和时间,就可以知道邮件是堵在哪里。

     

     


    2011年8月5日 3:15
    版主