Personal domain mailbox cannot send email to gmail

Problem Description

I registered a domain name mydomain.com, and created a mailbox under this domain name, sending and receiving emails from this mailbox will fail.
The main reason is that some configuration work is not done well.

incoming mail

When you create a mailbox [email protected] and try to send an email to this mailbox, the email will be rejected and you will be prompted that the DNS of the email cannot be resolved.
This is mainly because the domain name is not configured with the MX protocol. When sending emails to the mailbox, when @mydomain.com is resolved through DNS, the DNS does not know which IMTP server to send it to. It is equivalent to writing the address, but the courier does not know where the server that you receive the mail is.

Solution

On the official website where the domain name is purchased, the corresponding IMTP address may be given. You only need to set an MX record in the domain name, fill in @ for the host, and fill in the corresponding IMTP address for the data, such as imtp.qq.com.

insert image description here

If you do not have an IMTP address, you can use a third-party mail service. For example, Tencent Enterprise Mailbox, add a domain name to Tencent Enterprise Mailbox, and use Tencent's IMTP server.

send email

Emails sent from this email address were rejected, and an email prompt was received, indicating that the email address has not been authenticated.

Solution

Enable SPF and DKIM functions.

Note that after enabling DKIM, you also need to configure a TXT record for the corresponding domain. The interface for opening DKIM has indicated the host and data, just fill in the records.
It takes a while to wait for the DNS update to complete. Afterwards, emails sent from the mailbox will be signed for identity verification.

Guess you like

Origin blog.csdn.net/greatcoder/article/details/131607528