大网数据广告活动
服务器运维问答

Are CNAME "imap..." and "smtp..." subdomains needed?

· 52CE 我爱测

I'm running my Postfix email server. I have only 1 A dns record for it: mail.my_domain.com I'm able to connect to it, receive and send email through it using only this url. Namely, I don't have "smtp...." and "imap.my_domain.com"…

问题原文

原帖链接 · Kajera · CC BY-SA 4.0

I'm running my Postfix email server. I have only 1 A dns record for it: mail.my_domain.com I'm able to connect to it, receive and send email through it using only this url. Namely, I don't have "smtp...." and "imap.my_domain.com".

Will there be a necessity, advantage for me to create CNAME "smtp.my_domain.com" and "imap.my_domain.com" pointing to "mail.my_domain.com"?

已采纳解答

原帖链接 · BillThor · CC BY-SA 4.0

Unless you plan on growing to the point you need to split your services onto different servers, these are unnecessary. When you do grow to that point, just add new A record for smtp, or even smtp1 and smtp2 if your volume is that high.

Most clients will discover your server for both IMAP and SMTP with doing the initial configuration. Even if you grow to the point of having different SMTP server for incoming an outgoing mail, you may want to continue accepting mail from authenticated users on the submission port (587) the mail domain.

If your use base grows to the point you need to have multiple IMAP servers, consider adding and imap domain posibly with multple addresses for multiple IMAP proxy servers.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-06-03)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。