积极答复者
通过代码使用smtp协议自动发送邮件后,exchange 服务器上无记录

问题
-
各位好,
因为各种系统告警需求,通常会通过代码或其他方式的形式采用SMTP协议,开启验证后使用exchange 服务器地址进行告警邮件的自动发送,但,因业务需求,需要将这部分邮箱的发件记录进行保存,可我查询exchange服务器上关于此账号的穿输记录却无法查询到该邮箱的已发记录,隐约感觉到,通过代码自动发送邮件,采用的是中继到exchaneg服务器的方式进行邮件的收发,这种方式跳过了客户端到服务器这段过程的记录,所以导致exchaneg服务器上没有此邮箱的收发记录。我的exchaneg环境是2010版本的,关闭了pop3 和IMAP 2种协议
1、请问我上述理解是否正确
2、如果我需要保存这部分邮箱的发件记录,该如何设置
答案
-
你好,
如果是在邮箱中已发送文件夹查看,确实不会有任何已发送邮件存在,这个就类似从外网利用你的邮件服务器来中继邮件,虽然你用的某个邮箱的名称发送的邮件,但其实并不是从邮箱中发出的,你也可以用任意名称(比如test@test.com)来通过中继来发送到邮箱。如果要查看相关的记录,只能通过查看邮件追踪记录实现。
Best Regards,
Niko Cheng
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.- 已建议为答案 Niko.ChengModerator 2018年11月12日 3:01
- 已标记为答案 James16848 2018年11月13日 7:24
全部回复
-
你好,
你是查的什么记录?是否查过邮件追踪记录,以及查看所用连接器上的协议日志记录。
具体有关这两种日志如何查看,可以参考下面的文章:
How to track Message in Exchange 2003/2007/2010
Best Regards,
Niko Cheng
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams. -
你好,
如果是在邮箱中已发送文件夹查看,确实不会有任何已发送邮件存在,这个就类似从外网利用你的邮件服务器来中继邮件,虽然你用的某个邮箱的名称发送的邮件,但其实并不是从邮箱中发出的,你也可以用任意名称(比如test@test.com)来通过中继来发送到邮箱。如果要查看相关的记录,只能通过查看邮件追踪记录实现。
Best Regards,
Niko Cheng
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.- 已建议为答案 Niko.ChengModerator 2018年11月12日 3:01
- 已标记为答案 James16848 2018年11月13日 7:24