如何监控 POP、SMTP 和 Exchange 服务器的邮件活动

发布于 2024-07-26 15:44:42 字数 171 浏览 3 评论 0原文

我们需要编写一个 .Net (C#) 应用程序,通过 POP、SMTP 和 Exchange Server(2007 及更高版本)监视所有邮件活动,并本质上抓取邮件以存档到文档管理系统中。 我意识到监视每种类型的服务器的方法可能会有所不同,因此我想知道实现此目的的最佳(最优雅和可靠)方法是什么。

谢谢。

We need to write a .Net (C#) application that monitors all mail activity through a POP, SMTP and Exchange Server (2007 and later) and essentially grab the mail for archiving into a document management system. I realise that the way to monitor each type of server would probably be different so I'd like to know what the best (most elegant and reliable) way is to achieve this.

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

爱冒险 2024-08-02 15:44:42

为了遵守法律,许多国家对此类系统必须做什么和不可以做什么的规定相当狭窄。 如果您正在为南非的一家公司开发产品并希望将其销往国际市场,我建议您需要采取更有针对性的方法。
根据法律框架,您的解决方案必须拦截并存档所有电子邮件或仅一部分电子邮件。
例如,某些国家/地区不允许公司存储员工的私人电子邮件,在这种情况下,需要使用员工可以控制的规则来配置存档流程。
如果目的是存档每封电子邮件,那么吉米·钱德拉(Jimmy Chandra)建议的网络级方法更好,因为它更容易部署。

Many countries have rather narrow regulations for what such a system must do and what it must not do in order to be in compliance with the law. If you are developing a product for a company in SA that wants to sell it internationally, I would suggest that need a more targeted approach.
Depending on the legal framework, your solution will have to intercept and archive all emails, or just a subset.
For instance, some countries do not allow the company to store private emails of employees, in which case the archival process needs to be configurable with rules that the employee can control.
If the intent is to archive each and every email, then the network-level approach that Jimmy Chandra suggested is better, because it is easier to deploy.

怪我入戏太深 2024-08-02 15:44:42

我认为你不需要担心 POP,对吗? 它不用于发送邮件(除非您也需要监控对电子邮件的访问)。

关于 Exchange,2000 版及以后的版本具有日记支持(不知道以前的版本),因此邮件在发送/接收时会被复制到邮箱(根据 Exchange 版本有多种不同的选项,请查看)。 然后,您可以读取该邮箱或设置规则将其转发到外部 SMTP,然后您的应用程序会监听它。

对于其他 SMTP 服务器,可以通过转发规则等获得类似的方法,并且某些服务器可能具有与 Exchange 一样的自定义支持。

I don't think you need to worry about POP right? it is not used for sending mails (unless you need to monitor access to emails too).

Regarding Exchange, versions 2000 onwards have Journaling support (don't know about previous ones), so a mail is copied cto a mailbox as it is sent/recieved (there are several different options depending Exchange version, check it out). Then you can read that mailbox or set a rule to forward it to an external SMTP, and you app listen to it.

For other SMTP servers, it would be possible to get a similar approach by forwarding rules etc, and some might have custom support as Exchange has.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文