如何阻止电子邮件发送 [英] how to block a email from going

查看:109
本文介绍了如何阻止电子邮件发送的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我在阻止电子邮件发送方面遇到问题.假设我已将电子邮件发送给了被禁止的收件人列表中的收件人,那么有什么办法可以阻止我通过使用任何一种方式将电子邮件传递给该收件人电子邮件过滤器应用程序.
请帮助有需要的人.
不,示例代码将提供很大的帮助.
感谢

Hi all
I have a problem regarding blocking of email from going.let suppose i sent a email to a recipient which is among the list of banned recipients.So is there any way by which i could block the email from delivering to that recipient by using any kind of email filter application.
please do help the needy..
nay sample code would be a great help.
thanks

推荐答案

可以使用提供此类过滤功能的本地SMTP服务器或过滤接口(拒绝无效邮件)来完成此操作:

  • 在本地网络中的计算机上设置SMTP服务器.
  • 配置服务器以使用您的邮件提供商的一个或多个帐户转发所有邮件.
  • 配置所有邮件客户端以使用您的SMTP服务器发送邮件.
  • 配置SMTP服务器的过滤器.
  • 可选配置路由器或防火墙,以拒绝从所有到SMTP端口25的传出连接本地地址,而不是SMTP服务器的本地地址,以避免绕过服务器.
This can be done using a local SMTP server providing such filtering capabilities or a filtering interface (invalid mails are rejected):

  • Setup the SMTP server on a machine in your local network.
  • Configure the server to forward all mails using one or more accounts of your mail provider(s).
  • Configure all mail clients to use your SMTP server for outgoing mail.
  • Configure the filters of the SMTP server.
  • Optional configure your router or firewall to deny outgoing connections to SMTP port 25 from all local addresses except those of your SMTP server to avoid bypassing your server.


是的,最终我得到了一些提示,指出了如何解决它,可以通过制作CGi类型的应用程序来解决.是一个相关的解决方案.
yes finally got some hint how it could be tackled.it can be tackled by making a CGi kind of application.that would be a relevant solution.


这篇关于如何阻止电子邮件发送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆