From 1f896d1b26db96224f2ba8d62ddb4aeec70d435b Mon Sep 17 00:00:00 2001 From: Aine Date: Tue, 6 Sep 2022 16:46:14 +0300 Subject: [PATCH] add note about MX record --- README.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a16c156..e69418d 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,38 @@ DOMAIN. 1799 IN TXT "v=spf1 ip4:111.111.111.111 -all" -**Third**, add new DKIM DNS record of `TXT` type for subdomain `postmoogle._domainkey` that will be used with postmoogle. +**Third**, add new MX DNS record of `MX` type for your domain that will be used with postmoogle, it should point to the same (sub-)domain. +Looks odd, but some mail servers will refuse to interact with your mail server (and Postmoogle is already a mail server) without MX records. + +
+Example + +```bash +dig MX DOMAIN + +; <<>> DiG 9.18.6 <<>> MX DOMAIN +;; global options: +cmd +;; Got answer: +;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12688 +;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 + +;; OPT PSEUDOSECTION: +; EDNS: version: 0, flags:; udp: 1232 +;; QUESTION SECTION: +;DOMAIN. IN MX + +;; ANSWER SECTION: +DOMAIN. 1799 IN MX 10 DOMAIN. + +;; Query time: 40 msec +;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP) +;; WHEN: Tue Sep 06 16:44:47 EEST 2022 +;; MSG SIZE rcvd: 59 +``` + +
+ +**Fourth** (and the last one), add new DKIM DNS record of `TXT` type for subdomain `postmoogle._domainkey` that will be used with postmoogle. You can get that signature using the `!pm dkim` command: