I have ONE domain that is NOT behaving properly within virtualmin

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?

Status: 
Closed (fixed)

Comments

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

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).

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

That's great news -- I'll go ahead and close this out.

Automatically closed -- issue fixed for 2 weeks with no activity.