加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows-server-2008 – Windows Server 2008 SMTP服务器未写入

发布时间:2020-12-14 00:37:42 所属栏目:Windows 来源:网络整理
导读:我使用 Windows Server 2008作为我的开发操作系统.我已经能够测试机器上的SMTP服务器是否可以成功发送电子邮件(我在收件箱中收到它们)但是没有写入日志文件.任何想法为什么SMTP服务器的日志文件没有得到更新? “简单邮件传输协议(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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读