当一个人对邮件客户机、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:
There are probably other minor concerns, but these would be the major ones.
有什么要补充的解释吗?在评论中发出声音。想从其他精通技术的Stack Exchange用户那里了解更多答案吗?在这里查看完整的讨论主题。
...增。 即使使用STARTTLS,也无法验证发件人服务器的身份,因为SMTP服务器不验证证书。 ...
...)。每个提供者处理这种情况的方式有点不同。 相关:为什么我收到垃圾邮件从我自己的电子邮件地址? 谷歌只是忽略了你使用的新电子邮件地址,收件人会看到你的Gmail地址。在我们截图中的示例中,Outlook将电子邮件发送到G...
...POP电子邮件帐户,您将丢失离线存储的电子邮件。这就是为什么IMAP通常是在桌面应用程序中访问电子邮件的高级解决方案。
...P会阻止端口25,这样他们的用户就不能自己发送邮件了。为什么?由于大量的垃圾邮件吞噬了我们的集体带宽,你的MTA应该配置过滤掉这些东西。您可以将客户端配置为使用ISP的SMTP服务器,而不是运行自己的服务器。关键是,...
...来发送电子邮件。它允许您构造一个单行命令,通过SMTP服务器进行身份验证并发送电子邮件。 任务调度器的电子邮件功能有问题 当我们讨论设置您的计算机以在任何人登录时向您发送电子邮件通知时,我们发现内置的电子邮...
你有一台你不想让其他人访问的电脑吗?也许是一台服务器?当有人登录到你的计算机时,你可以让Windows给你发电子邮件(假设它已连接到Internet),让你心平气和。 我们将使用Windows任务调度器来实现这一点,它可以发送电子...
...s want some tender love and attention. 当然,这种技术是为真正的服务器设计的,但是如果你家里有一个Linux盒子作为家庭服务器,你也可以在那里使用它。事实上,由于许多家庭ISP都会阻止常规的出站电子邮件,因此您可能会发现这种...
当在数据库服务器上运行自动备份作业时,有时甚至会忘记它们正在运行。然后忘记检查它们是否成功运行,直到数据库崩溃并且由于没有当前备份而无法恢复,才意识到这一点。 这就是电子邮件通知的来源,这样你每天早上...
...个链接到这篇文章或谷歌的支持页面。他们会很感激的。为什么我看到错误“此消息可能不是由…发送的”Gmail有助于在Gmail Smarterware中不再看起来像钓鱼者