为什么需要中间smtp服务器来发送邮件?

当一个人对邮件客户机、SMTP服务器以及整个在线邮件系统的工作原理有了更多的了解,他们可能会好奇为什么需要一个中间的SMTP服务器。有鉴于此,今天的超级用户问答帖子为好奇的读者提供了答案。...

为什么需要中间**tp服务器来发送邮件?

当一个人对邮件客户机、SMTP服务器以及整个在线邮件系统的工作原理有了更多的了解,他们可能会好奇为什么需要一个中间的SMTP服务器。有鉴于此,今天的超级用户问答帖子为好奇的读者提供了答案。

今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,是一个由社区驱动的问答网站分组。

图片由大卫施罗德(Flickr)提供。

问题

超级用户读者Tobia想知道为什么需要中间SMTP服务器来发送邮件:

Why do I need an intermediate SMTP server to send mail? Why is my mail client (Outlook or Thunderbird) unable to send messages directly to the recipient’s SMTP domain?

For example, if I have to send mail to [email protected] with my Gmail account, I send it to the **tp.gmail.com server; then this server sends my message to the MX server of example.com.

为什么需要中间SMTP服务器来发送邮件?

答案

超级用户贡献者davidgo为我们提供了答案:

It is technically possible to send mail directly to the recipient’s SMTP server from your computer.

Looking at it from a historical basis, if the remote SMTP server is down, you want a system to automatically handle it and keep retrying, hence you have an SMTP server. Similarly, in the old days, not all mail servers were connected all the time (long distance links were expensive), so mail would be queued and sent when a link was established.

Moving on to where Internet services are cheap, it is still useful to have mechani**s to retry sending mail if a server is unavailable. It is not ideal for this functionality to be written into the MUA (Mail user agent/end user mail program). These functi*** fit into an MTA (Mail server/SMTP server).

But it gets worse—spammers. Most mail (more than 80 percent) is spam. Mail providers do whatever they can to reduce this problem and a large number of techniques make assumpti*** about the way mail is delivered. The following are important c***iderati***:

1. Greylisting: Some providers will automatically drop a mail connection if the sender and recipient have not communicated before and expect them to try a second time. Spammers often do not retry while an SMTP server is always supposed to. This reduces the volume of spam by about 80 percent, but it sucks to have to do this though.

2. Reputation: It is a lot more likely that someone sending mail through a reputable, known SMTP server is legit compared to a fly-by-night server. To get a feel for reputation, providers do a number of things:

  • Block dynamic/client addresses (not 100 percent, but large chunks of the Internet have been mapped out).
  • Check to see if the reverse DNS matches the forward DNS. Not very hard to do, but it shows some level of accountability and knowledge of best practices (something a lot of client address blocks do not have).
  • Check for reputation. When communicating with other SMTP servers, a lot of providers keep track of the amount of spam and volume of mail sent. They can reduce the amount of spam by limiting connecti*** and keeping an eye on these parameters. There are a lot of ways this is done, not all of them obvious, but which require a known sender.
  • SPF and DKIM. These mechani**s tie DNS resources to the domain name to make forging mail harder and would be difficult, but not necessarily impossible to deploy if the mail program (MUA) is resp***ible for outgoing mail.

There are probably other minor concerns, but these would be the major ones.


有什么要补充的解释吗?在评论中发出声音。想从其他精通技术的Stack Exchange用户那里了解更多答案吗?在这里查看完整的讨论主题。

  • 发表于 2021-04-10 03:03
  • 阅读 ( 185 )
  • 分类:互联网

你可能感兴趣的文章

如何使用vba脚本从excel电子表格发送电子邮件

... 为什么从excel发送电子邮件? ...

  • 发布于 2021-03-22 18:44
  • 阅读 ( 230 )

什么是mta sts?它如何保护您的电子邮件?

...增。 即使使用STARTTLS,也无法验证发件人服务器的身份,因为SMTP服务器不验证证书。 ...

  • 发布于 2021-03-26 13:46
  • 阅读 ( 181 )

如何在outlook中使用不同的“发件人”地址发送电子邮件

...)。每个提供者处理这种情况的方式有点不同。 相关:为什么我收到垃圾邮件从我自己的电子邮件地址? 谷歌只是忽略了你使用的新电子邮件地址,收件人会看到你的Gmail地址。在我们截图中的示例中,Outlook将电子邮件发送到G...

  • 发布于 2021-04-01 12:45
  • 阅读 ( 303 )

如何修复苹果邮件发送电子邮件从错误的电子邮件地址在您的mac

...POP电子邮件帐户,您将丢失离线存储的电子邮件。这就是为什么IMAP通常是在桌面应用程序中访问电子邮件的高级解决方案。

  • 发布于 2021-04-08 11:42
  • 阅读 ( 160 )

电子邮件是如何工作的?

...P会阻止端口25,这样他们的用户就不能自己发送邮件了。为什么?由于大量的垃圾邮件吞噬了我们的集体带宽,你的MTA应该配置过滤掉这些东西。您可以将客户端配置为使用ISP的SMTP服务器,而不是运行自己的服务器。关键是,...

  • 发布于 2021-04-09 04:47
  • 阅读 ( 130 )

如何轻松地从windows任务计划程序发送电子邮件

...来发送电子邮件。它允许您构造一个单行命令,通过SMTP服务器进行身份验证并发送电子邮件。 任务调度器的电子邮件功能有问题 当我们讨论设置您的计算机以在任何人登录时向您发送电子邮件通知时,我们发现内置的电子邮...

  • 发布于 2021-04-12 05:53
  • 阅读 ( 179 )

如何在有人登录到您的计算机时获得电子邮件通知

你有一台你不想让其他人访问的电脑吗?也许是一台服务器?当有人登录到你的计算机时,你可以让Windows给你发电子邮件(假设它已连接到Internet),让你心平气和。 我们将使用Windows任务调度器来实现这一点,它可以发送电子...

  • 发布于 2021-04-12 06:23
  • 阅读 ( 139 )

如何在linux上使用gmail或smtp设置电子邮件警报

...s want some tender love and attention. 当然,这种技术是为真正的服务器设计的,但是如果你家里有一个Linux盒子作为家庭服务器,你也可以在那里使用它。事实上,由于许多家庭ISP都会阻止常规的出站电子邮件,因此您可能会发现这种...

  • 发布于 2021-04-13 03:53
  • 阅读 ( 145 )

使用smtp在sql server中发送自动作业电子邮件通知

当在数据库服务器上运行自动备份作业时,有时甚至会忘记它们正在运行。然后忘记检查它们是否成功运行,直到数据库崩溃并且由于没有当前备份而无法恢复,才意识到这一点。 这就是电子邮件通知的来源,这样你每天早上...

  • 发布于 2021-04-14 15:47
  • 阅读 ( 153 )

别在gmail里看起来像个钓鱼者

...个链接到这篇文章或谷歌的支持页面。他们会很感激的。为什么我看到错误“此消息可能不是由…发送的”Gmail有助于在Gmail Smarterware中不再看起来像钓鱼者

  • 发布于 2021-05-27 05:52
  • 阅读 ( 119 )
SUPGG
SUPGG

0 篇文章

相关推荐