windows-server-2008 – Windows Server 2008 SMTP服务器未写入日志文件

前端之家收集整理的这篇文章主要介绍了windows-server-2008 – Windows Server 2008 SMTP服务器未写入日志文件前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我使用 Windows Server 2008作为我的开发操作系统.我已经能够测试机器上的SMTP服务器是否可以成功发送电子邮件(我在收件箱中收到它们)但是没有写入日志文件.任何想法为什么SMTP服务器的日志文件没有得到更新?

“简单邮件传输协议(SMTP)”作为本地系统帐户运行.并且本地系统帐户对日志文件文件夹具有权限.

您可能必须等到进程刷新其日志缓冲区并写入日志文件.我知道对于HTTP服务,您可以使用以下方法手动刷新缓冲区并强制它写入文件
netsh http flush logbuffer

我正在寻找与SMTP服务相当的东西.

编辑:

或者,看看this from Steve Schofield’s blog

I was working on installing Windows
Server 2008 x64 edition. I discovered
the SMTP Service wasn’t logging. SMTP
was working and emails were going out.
My install is ‘custom’ and installs
just the modules we needed. Turns
out,there is a small dependency on
the ODBC logging module so the SMTP
service logging would work. More
importantly iislog.dll. Here are the
instructions to fix and reproduce the
behavior.

To correct it. I’m assuming you have
the SMTP Service already installed and
it’s not logging.

1) Install ODBC Logging module (role
service in Server Manager)

2) Stop / Start the SMTP Service

3) Verify your SMTP service is
configured for logging. It’s not on
by default.

4) Try a local telnet test (assuming
the telnet client is installed)

5) Look at your log folder.

原文链接:https://www.f2er.com/windows/369124.html

猜你在找的Windows相关文章