Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Kevin Baker on October 07, 2002, 01:14:19 AM
-
I am hosting multiple domains on my e-smith box. I need the server to handle email for one but not the other.
The problem is that the noemail.com domain has a mailto form on it sending to info@noemail.com. The server resolves to itself to handle the mail, when the email address (MX) is actually setup on another server.
This would be simple if I could switch both to an external SMTP, but I need one on this machine.
Any thoughts? This is kind of confusing I know.
-
Since DNS seems to be the root problem, perhaps you could do a DNS dig on that domain and paste the results?
console> dig nodomain.com mx
I would dig from two differet boxes and ensure the MX records match up. I would also cat /home/dns/var/named/db.noemail.com|grep -i mx
This would tell you what your local DNS configuration sees the MX as.
Hope this helped,
Nathan
-
Thanks.... below are the results. Is there any way to force the machine to change its DNS search order... If it tried to resolve externally first I'd be better off in this case.
***** LOCAL HOST DIG **************
; <<>> DiG 8.3 <<>> q3dm.com mx
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; QUERY SECTION:
;; q3dm.com, type = MX, class = IN
;; ANSWER SECTION:
q3dm.com. 1D IN MX 5 makai.q3dm.com.
;; AUTHORITY SECTION:
q3dm.com. 1D IN NS makai.ukumu2.com.
;; ADDITIONAL SECTION:
makai.q3dm.com. 1D IN A 10.0.66.160
makai.ukumu2.com. 1D IN A 10.0.66.160
;; Total query time: 1 msec
;; FROM: makai to SERVER: default -- 127.0.0.1
;; WHEN: Mon Oct 7 16:54:19 2002
;; MSG SIZE sent: 26 rcvd: 107
*************** DIG remote machine (correct results) *************
; <<>> DiG 8.3 <<>> q3dm.com mx
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 3
;; QUERY SECTION:
;; q3dm.com, type = MX, class = IN
;; ANSWER SECTION:
q3dm.com. 15M IN MX 10 antiochus.hosting.pacbell.net.
q3dm.com. 15M IN MX 20 craterus.hosting.pacbell.net.
q3dm.com. 15M IN MX 30 philetaerus.hosting.pacbell.net.
;; ADDITIONAL SECTION:
antiochus.hosting.pacbell.net. 15M IN A 216.100.99.23
craterus.hosting.pacbell.net. 15M IN A 216.100.98.23
philetaerus.hosting.pacbell.net. 15M IN A 216.100.99.27
;; Total query time: 110 msec
;; FROM: nalu to SERVER: default -- 127.0.0.1
;; WHEN: Mon Oct 7 17:09:19 2002
;; MSG SIZE sent: 26 rcvd: 180