為什麼需要中間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
  • 閱讀 ( 43 )
  • 分類:網際網路

你可能感興趣的文章

7.11億個電子郵件地址被線上spambot洩露

...ot收集了超過7億個單獨的電子郵件地址、密碼和電子郵件伺服器,這些都是用來發送垃圾郵件的。spambot主要用於將Ursnif banking特洛伊木馬傳遞給不知情的使用者。Benkow估計全世界有超過100000個獨特的系統被感染。 ...

  • 發佈於 2021-03-13 06:22
  • 閲讀 ( 45 )

介紹了7種常見的電子郵件安全協議

...層的一部分,您的電子郵件客戶端使用它連線到電子郵件伺服器)來啟動與電子郵件伺服器的“握手”。 ...

  • 發佈於 2021-03-22 04:22
  • 閲讀 ( 58 )

如何使用vba指令碼從excel電子表格傳送電子郵件

... 程式碼的下一部分是將CDO配置為使用任何外部SMTP伺服器傳送電子郵件。 ...

  • 發佈於 2021-03-22 18:44
  • 閲讀 ( 48 )

什麼是mta sts?它如何保護您的電子郵件?

...增。 即使使用STARTTLS,也無法驗證發件人伺服器的身份,因為SMTP伺服器不驗證證書。 ...

  • 發佈於 2021-03-26 13:46
  • 閲讀 ( 63 )

如何使用protonmail傳送安全的加密電子郵件

... 這個過程的每一部分都要經過某種加密。您的計算機和伺服器之間的連線是加密的,伺服器上的電子郵件內容是加密的,只有收件人有正確的金鑰才能在另一端解密郵件。附件也已固定。 使用@protonmail.com, @協議郵件.ch,和@下午...

  • 發佈於 2021-03-31 11:50
  • 閲讀 ( 61 )

如何在outlook中使用不同的“發件人”地址傳送電子郵件

...行任何檢查。客戶端只需將電子郵件傳送到提供商的SMTP伺服器(簡單郵件傳輸協議伺服器,通常稱為郵件伺服器),並讓SMTP伺服器決定如何處理您的電子郵件。 電子郵件將發生什麼情況完全取決於電子郵件提供商的SMTP伺服器...

  • 發佈於 2021-04-01 12:45
  • 閲讀 ( 47 )

如何修復蘋果郵件傳送電子郵件從錯誤的電子郵件地址在您的mac

...在此處選擇您遇到問題的電子郵件帳戶。 單擊帳戶的“伺服器設定”選項卡。您將在這裡看到兩種不同的帳戶設定:傳入郵件伺服器和傳出郵件伺服器。 傳出郵件伺服器設定可能會產生誤導。如果您有來自同一域的多個帳戶,...

  • 發佈於 2021-04-08 11:42
  • 閲讀 ( 57 )

如何在windows中從命令列傳送電子郵件(無需額外軟體)

...ershell傳送電子郵件 注意:我們決定在本文中使用GMail SMTP伺服器,這意味著您將需要一個GMail帳戶來使用提供的程式碼傳送郵件。然而,你可以很容易地黑我的指令碼與任何SMTP伺服器工作,如果你想。 你需要做的第一件事就是...

  • 發佈於 2021-04-08 19:45
  • 閲讀 ( 52 )

為什麼垃圾郵件仍然是一個問題?

... 電子郵件是不同的。任何人都可以操作自己的電子郵件伺服器,許多電子郵件都會發送給不在對方通訊簿中的人。電子郵件伺服器可以傳送任意數量的電子郵件。即使郵件在Gmail中被標記為垃圾郵件,Outlook.com,還有雅虎!郵件...

  • 發佈於 2021-04-09 04:07
  • 閲讀 ( 53 )

電子郵件是如何工作的?

...件由客戶端透過簡單的郵件傳輸協議傳送到一個傳出郵件伺服器。SMTP伺服器就像您的本地郵局,它檢查您的郵資和地址,並確定您的郵件傳送到哪裡。不過,它不懂域名。它們是一種抽象的東西,因此SMTP伺服器與域名系統伺服...

  • 發佈於 2021-04-09 04:47
  • 閲讀 ( 64 )
SUPGG
SUPGG

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦