2024 Forfatter: Peter John Melton | [email protected]. Sidst ændret: 2023-12-16 04:48
Dagens Spørgsmål & Svar session kommer til os med venlig hilsen af SuperUser-en underafdeling af Stack Exchange, en community-driven gruppe af Q & A-websteder.
Foto med tillykke med David Schroeder (Flickr).
Spørgsmålet
SuperUser-læser Tobia vil vide, hvorfor en mellemliggende SMTP-server er nødvendig for at sende mail:
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 smtp.gmail.com server; then this server sends my message to the MX server of example.com.
Hvorfor er en mellemliggende SMTP-server nødvendig for at sende mail?
Svaret
SuperUser bidragyder davidgo har svaret for os:
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 mechanisms 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 functions 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 assumptions about the way mail is delivered. The following are important considerations:
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 connections 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 mechanisms 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 responsible for outgoing mail.
There are probably other minor concerns, but these would be the major ones.
Har du noget at tilføje til forklaringen? Ik anyik notk not notikkkkkk not not noting notkfikik not any anyik any for anyik notikikinging not Vil du læse flere svar fra andre tech-savvy Stack Exchange brugere? Tjek den fulde diskussionstråd her.
Anbefalede:
Hvordan (og hvorfor) at sende dit gamle telefonnummer til Google Voice
Hvis du vil beholde dit gamle telefonnummer, efter du har fået en ny, eller hvis du bare vil have et andet telefonnummer til at lege med, kan du sende det nummer til den fantastiske Google Voice-tjeneste. Sådan gør du det.
Brug e-mail til at sende tekstbeskeder (SMS) til mobiltelefoner gratis
Nogle gange kan du sende en hurtig tekstbesked til en person, du ved, helt sikkert vil være nyttig. Men hvad nu hvis du er på din computer og ikke kan bruge din mobiltelefon? Du skal bare affyre din foretrukne e-mail-konto og få den besked ud ved hjælp af de SMS Gateway-adresser, vi har samlet sammen for dig.
Opret genveje eller genvejstaster for hurtigt at sende mail til en modtager
Hvis du nogensinde har set på din sendte mailmappe, har du sikkert set en tendens: Du sender email til de samme folk igen og igen! Da vi er store fans af automatisering af gentagne opgaver, skal vi i dag se på, hvordan man opretter genveje for automatisk at e-maile specifikke modtagere.
Konfigurer Office 365 til at sende og modtage e-mail på en mobilenhed
Lær, hvordan du slutter din mobilenhed til din Office 365-konto, som gør det muligt at synkronisere din kalender, kontakter og e-mail for at sende / modtage direkte på din mobilenhed.
WinMailer: Portable freeware værktøj til at sende hurtig mail med vedhæftede filer
Download WinMailer. Send e-mail med vedhæftede filer til alle, der bruger din Hotmail, Gmail, Yahoo, AOL eller en anden e-mail-konto, i Windows 10/8/7.