I have ONE domain that is rejecting all mail for a single domain saying that relay isn't allowed. The domain isn't being relayed, it would be local delivery.
I can't for the life of me figure this out:
; <<>> DiG 9.2.4 <<>> mx erniesequipment.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22729 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; QUESTION SECTION: ;erniesequipment.com. IN MX
;; ANSWER SECTION: erniesequipment.com. 31774 IN MX 5 mail.erniesequipment.com.
;; AUTHORITY SECTION: erniesequipment.com. 31774 IN NS host1.helvawebhost.net.
;; ADDITIONAL SECTION: mail.erniesequipment.com. 31774 IN A 209.17.170.13 host1.helvawebhost.net. 79775 IN A 209.17.170.12
;; Query time: 424 msec ;; SERVER: 205.177.13.7#53(205.177.13.7) ;; WHEN: Mon Jun 15 20:26:39 2009 ;; MSG SIZE rcvd: 126
This would be correct. The mail is delivered locally.
Any ideas?
Comments
Submitted by andreychek on Mon, 06/15/2009 - 19:52 Comment #1
Howdy -- since you've verified that the DNS records are correct (nice work!), another thing that could cause this is to look in /etc/postfix/virtual, and make sure it has a line that looks like:
erniesequipment.com erniesequipment.com
(that is, it has the domain to receive email for twice on one line)
If that's not in there, that could cause the trouble you're seeing.
If you don't see it, go ahead and add it, then run:
postmap /etc/postfix/virtual
Submitted by JamieCameron on Mon, 06/15/2009 - 20:05 Comment #2
Also, you can have Virtualmin check for common configuration errors by logging in as root and going to Limits and Validation -> Validate Virtual Servers, and checking all domains (or just this one).
Submitted by HowardPierce on Mon, 06/15/2009 - 20:47 Comment #3
thank you so very much. It did need the erniesequipment.com erniesequipment.com added for some reason. The mapping worked and I can mail to it.
Thank you,
Howard
Submitted by andreychek on Mon, 06/15/2009 - 20:51 Comment #4
That's great news -- I'll go ahead and close this out.
Submitted by Issues on Mon, 06/29/2009 - 21:18 Comment #5
Automatically closed -- issue fixed for 2 weeks with no activity.