已在 EC2 实例上配置后缀。可以在本地发送和接收电子邮件。还配置了具有经过验证的域的 SES。传出效果很好。但是,将邮件接收到 SES 会返回
<[email protected]>: host inbound-smtp.eu-west-1.amazonaws.com[176.32.109.132]
said: 550 5.1.1 Requested action not taken: mailbox unavailable (in reply
to RCPT TO command)
后缀日志中没有显示任何条目,所以我怀疑 SES 甚至没有尝试与我的 EC2 实例通信。
挖 MX mydomain.com
; <<>> DiG 9.10.3-P4-Ubuntu <<>> MX mydomain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1395
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;mydomain.com. IN MX
;; ANSWER SECTION:
mydomain.com. 60 IN MX 10 inbound-smtp.eu-west-1.amazonaws.com.
;; Query time: 77 msec
;; SERVER: 172.31.0.2#53(172.31.0.2)
;; WHEN: Thu Jan 04 13:32:12 UTC 2018
;; MSG SIZE rcvd: 95
挖 mydomain.com
; <<>> DiG 9.10.3-P4-Ubuntu <<>> mydomain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51289
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;mydomain.com. IN A
;; ANSWER SECTION:
mydomain.com. 34 IN A 52.50.184.26
;; Query time: 0 msec
;; SERVER: 172.31.0.2#53(172.31.0.2)
;; WHEN: Thu Jan 04 13:34:10 UTC 2018
;; MSG SIZE rcvd: 59
我为入站流量打开了端口 25。我可以从家里远程登录到它。将 mydomain.com 替换为 kummelvagen.se,除非您是邪恶的机器人。
我错过了什么?