设为首页 收藏本站
查看: 1159|回复: 0

[经验分享] Analyzing the protocol logs and Message tracking logs in Exchange 2013

[复制链接]

尚未签到

发表于 2018-7-7 14:34:46 | 显示全部楼层 |阅读模式
  from:
  http://social.technet.microsoft.com/wiki/contents/articles/23182.analyzing-the-protocol-logs-and-message-tracking-logs-in-exchange-2013.aspx

  During the time of troubleshooting in mail delay and issues when users reporting emails being not received its little bit tougher part to isolate and>
  Message tracking and protocol logs analysis is one of the best way to>  In this article we will be looking at how to enable protocol logging and Message tracking in Exchange 2013 and analyzing the protocol and message tracking logs as well in a little bit different way through Excel.Earlier in Exchange 2007 & 2010 we used to turn on Message tracking in Hub transport servers.
  Since in Exchange 2013 the hub transport servers have been removed the Message tracking logs are stored in the mailbox servers.
  Steps to turn on Message tracking in Exchange 2013
  Use EAC to configure Message tracking
  1. In the EAC, navigate to Servers > Servers.
  2. Select the Mailbox server you want to configure, and then click Edit .
  3. On the server properties page, click Transport Logs.
  4. In the Message tracking log section, select the following:
  Enable message tracking
  5. Click Save.
  Steps to turn on Protocol Logs in Exchange 2013
  Open EAC
  Click on mail flow
DSC0000.png

  Double click on receive connector tab and select the protocol logging level to verbose
DSC0001.png


  Now we are going to send few test emails so that the logs get generated which would be>  So we are sending test email with subject “Test Email for Message Tracking”
  For analyzing the verbose logs it’s always better we can use the log parser tool.
  If still we need to analyze the data without log parser for single transaction it’s possible with sender and recipient to check if the mail transaction has been successful.
  Below is an example
  For analyzing the logs in message tracking you can follow the below steps
  Copy the message tracking logs from the below location from the mailbox server
DSC0002.png

  Note: There will be 4 types of message tracking logs in Exchange 2013 unlike in Exchange 2010 we have only 2.
  MSGTRK   These logs are associated with the Transport service.
  MSGTRKMA   These logs are associated with the approvals and rejections used by moderated transport. For more information, see Moderated Transport.
  MSGTRKMD   These logs are associated with messages delivered to mailboxes by the Mailbox Transport Delivery service.
  MSGTRKMS   These logs are associated with messages sent from mailboxes by the Mailbox Transport Submission service
  MSGTRKMS  is sufficient for us to calculate the message tracking in most of the situations.
  We can use other logs in deep dive analysis of cases where we suspect the  mails being not delivered to mailbox server and in few cases where we are unable to find any transaction in MSGTRKMS logs to see if the mail is been delivered to the mailbox server from the CAS server.
  But MSGTRKMS will give us the information 99 percent of the time.After copying the MSGTRKMS logs in the excel just filter the category column as shown below.
DSC0003.png

  Now we have number of options to filter message transactions. In below example we are going to filter a particular transaction with Message subject and below is the output for successful transaction.
  Just select the Message subject column drop down and uncheck select all as shown below.
DSC0004.png

  Just select Test Email for Message Tracking as shown below
DSC0005.png

  Below output is the successful transaction of the message transaction after the filter is applied for our example scenario.
DSC0006.png

  The below screenshot is the important parameter which should be checked and for a successful transaction i.e column (source and event-id) as shown below
DSC0007.png

  For a failure transaction we will not be having the receive status as shown above
  We have multiple options like date time, Client ip, server ip , recipients through which we will be able to isolate a particular transaction very easily . Getting used to this will take some time but once after if you start analyzing the message tracking through this then you will feel comfortable with this type of message tracking Cook for situations like where you need to filter out multiple parameters.
  Now we will look into how to analyze the receive connector protocol logs with help of Excel as we did for Message tracking.
  First Copy the Logs from the below location
DSC0008.png

  Note:
  It is very clear we  will be getting confused to see where to find the receive connector protocol logs since the transport level architecture have been bifurcated in exchange 2013 and we have multiple folders like front end, hub , protocol log unlike Exchange 2010 we have only this location
  “D:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\ProtocolLog\SmtpReceive”

  We just need to navigate to the below location alone in Exchange 2013 and copy the receive connector logs which will be>  “C:\program files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Hub\ProtocolLog\SmtpReceive”
  Open them in Excel
  Unlike in Message tracking we do not have many items for us to filter here as shown below. But we can always filter them via sender or recipient address who reported to be a problem with mail flow.
DSC0009.png


  Now we are going to>
DSC00010.png

  Below is the successful transaction for the above search result
DSC00011.png

  In the above screen it clearly mentions the mail from and the rcpt to . The final transaction result we can see is Transferred 3 resolved and 0 unresolved and 250 chunk received OK . This should be the output for a successful transaction.
  Note:  All we need to look is only at the data and context part  in receive and send connector protocol logs which gives us info about the successful \failure transaction.

  You can also use log parser to analyze the protocol logs. The above steps is  just an additional part of troubleshooting steps through deep dive into message tracking and protocol logs to narrow down  mail flow issues to>

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-534917-1-1.html 上篇帖子: Exchange 2007 OWA多域名证书 . 下篇帖子: exchange2007 收不到邮件的问题
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表