问题原文
原帖链接 · sudo.ie · CC BY-SA 3.0
I have a VPS in one provider (Provider A), and I have set the email server all works ok. in another provider (Provider B) I have the domain registered. So, let's assume it is mydomain.com
On the provider B: I had created a subdomain called mail.mydomain.com, configured the dns as follow:
HOST Type Result
(empty) A 123.123.123.123
www A 123.123.123.123
mail A 123.123.123.123
Then on mail exchange records I've configured as follow:
HOST Priority Result
(empty) 30 123.123.123.123
On the subdomain mail.mydomain.com, I have configured the dns as follow:
HOST Type Result
(empty) A 123.123.123.123
www A 123.123.123.123
已采纳解答
原帖链接 · wb9688 · CC BY-SA 3.0
- Set up your mail server(s) to listen at
mail.mydomain.com - Make sure your firewall doesn't block your mail server(s)'s ports
- Set an A record on
mail.mydomain.compointing to your IP address - Set a MX record on
mydomain.compointing tomail.mydomain.com - It should be working, but you probably wanna set up DKIM, DMARC and SPF
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
