Mail Service and Protocol

Recently, I have been working on DNS of my domain name. And then I need to set up the mail service of my domain name. When I tried many times, I always failed to receive the mail on my phone. Suddenly, I remembered that I didn’t set up IMAP service. So let’s review the mail service and protocol.

The most common mail service is SMTP, POP3, and IMAP.

SMTP

SMTP(Simple Mail Transfer Protocol)is used to transfer mail between mail servers. It is a protocol based on TCP/IP, and its main task is to define how mail is sent from the sender’s mail server to the receiver’s mail server. SMTP uses a client/server model, with the sender’s mail server acting as the client connecting to the receiver’s mail server.

  • Email is submitted by a mail client (mail user agent, MUA) to a mail server (mail submission agent, MSA) using SMTP on TCP port 465. The MSA delivers the mail to its mail transfer agent (MTA). And this process can be done by multiple machines.
  • The boundary MTA uses DNS to look up the MX (mail exchanger) record for the recipient’s domain (the part of the email address on the right of @). The MX record contains the name of the target MTA. Based on the target host and other factors, the sending MTA selects a recipient server and connects to it to complete the mail exchange.
  • Once the final hop accepts the incoming message, it hands it to a mail delivery agent (MDA) for local delivery. Once delivered to the local mail server, the mail is stored for batch retrieval by authenticated mail clients (MUAs), using Internet Message Access Protocol (IMAP), a protocol that both facilitates access to mail and manages stored mail, or the Post Office Protocol (POP) which typically uses the traditional mbox mail file format

MIME(Multipurpose Internet Mail Extensions)is a standard that extends the format of email messages to support text in character sets other than ASCII, and to allow audio, video, images, and application data to be included in email.

The default port is 25, but it is not secure, so it is recommended to use port with SSL/TLS encryption, such as 587(TLS) or 465(SSL). Details depend on the ISP.

POP3

POP3(Post Office Protocol version 3)is a protocol used to download mail from the mail server to the local device. After downloading, the mail on the server is usually deleted or marked as read. It is suitable for users who check mail occasionally through a single device. The operation of POP3 is one-way, which means that the client’s operations are not reflected on the server.

The default port is 110, but it is not secure, so it is recommended to use port with SSL/TLS encryption, such as 995(SSL).

IMAP

IMAP(Internet Message Access Protocol)is a protocol used to receive mail. It is similar to POP3, which is a mail retrieval protocol. Its main function is to allow mail clients (such as iPhone, Foxmail) to retrieve mail information and download mail from the mail server. IMAP is designed to provide a two-way communication between the webmail and the mail client, so that the client’s operations can be reflected on the server.

The default port is 143, but it is not secure, so it is recommended to use port with SSL/TLS encryption, such as 993(SSL).

This article is also posted on my blog, feel free refer to it for the latest revisions: Mail Service and Protocol

机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集,个人经导师指导并认可通过的高分设计项目,评审分99分,代码完整确保可以运行,小白也可以亲自搞定,主要针对计算机相关专业的正在做大作业的学生和需要项目实战练习的学习者,可作为毕业设计、课程设计、期末大作业。 机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+文档报告+数据集机器学习作业,机器学习和深度学习方法实现的入侵检测源代码+
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

timerring

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值