Logging all inbound SMTP traffic


SUMMARY

This article describes how you can log all the inbound traffic to the SMTP service.

DETAIL

For diagnosing help you are able to log all inbound traffic to the SMTP service by adding the following registry key. You will need to restart the SMTP service after changing this setting. The traffic will be logged to the SMTP Debug log. Be aware that since this logs all the inbound data, it will increase the log files a large amount, so you should only use this when needed.

For 64bit Windows versions:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mail Enable\Mail Enable\Connectors\SMTP]
"MonitorInbound"=dword:00000001

For 32bit Windows versions:

[HKEY_LOCAL_MACHINE\SOFTWARE\Mail Enable\Mail Enable\Connectors\SMTP]
"MonitorInbound"=dword:00000001

Since the registry change does causing large log files you are able to narrow down the data being logged by the IP address. To do this, add the following registry key. Change the x.x.x.x to the IP address you wish to monitor:

For 64bit Windows versions:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mail Enable\Mail Enable\Connectors\SMTP]
"MonitorInboundIP"="x.x.x.x"

For 32bit Windows versions:

[HKEY_LOCAL_MACHINE\SOFTWARE\Mail Enable\Mail Enable\Connectors\SMTP]
"MonitorInboundIP"="x.x.x.x"

 

 



Product:MailEnable
Article:ME020650
Module:General
Keywords:smtp,logging,debug,traffic
Class:HOWTO: Product Instructions
Revised:Monday, November 14, 2016
Author:
Publisher:MailEnable