[zimbra@samurai ~]$ dig tribley.org any
; <<>> DiG 9.3.3rc2 <<>> tribley.org any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40194
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;tribley.org. IN ANY
;; ANSWER SECTION:
tribley.org. 257234 IN NS mail.tribley.org.
tribley.org. 257234 IN NS main.tribley.org.
;; Query time: 1 msec
;; SERVER: 192.168.1.191#53(192.168.1.191)
;; WHEN: Sun May 10 20:15:39 2009
;; MSG SIZE rcvd: 67
From kloth.net:
; <<>> DiG 9.3.2 <<>> @localhost tribley.org ANY
; (2 servers found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12937
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;tribley.org. IN ANY
;; ANSWER SECTION:
tribley.org. 48543 IN A 76.192.183.57
tribley.org. 48449 IN MX 0 mail.tribley.org.
tribley.org. 48449 IN MX 0 mail2.tribley.org.
tribley.org. 221249 IN NS mail.tribley.org.
tribley.org. 221249 IN NS main.tribley.org.
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon May 11 03:17:56 2009
;; MSG SIZE rcvd: 121
Regarding the priorities, that's a definite screwup, I will fix that early next week. Presently mail.tribley.org does not respond to mx requests because qmail is turned off, I had it this way so that I could revert from zimbra by firing up qmail and shutting down zimbra.
Firewall is off:
[root@samurai ~]# iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT esp -- anywhere anywhere
ACCEPT ah -- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:domain
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-ns
ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-dgm
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:netbios-ssn
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:microsoft-ds
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:imaps
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt

op3s
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:7071
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
To the best of my knowledge, SELinux is off:
[root@samurai selinux]# cat config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
Regarding hosts file, I did not want to use a real machine name for my mail server in case I wanted to turn it off in a hurry or substitute another name. So, samurai is the real host name, mail2 is an alias. The hosts file was set up before I got a good handle on how to set tinydns up, so in order to get it to respond to both fully qualified and shorthand names for each of the ways it is called, I put the entries into hosts. Have not removed any of that, one nice thing about leaving it this way is if my DNS server dies zimbra still works internally...
mail2 does have an "A" record, it appears that "any" just picks up the name servers in my case:
[root@samurai selinux]# dig mail2.tribley.org a
; <<>> DiG 9.3.3rc2 <<>> mail2.tribley.org a
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61016
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mail2.tribley.org. IN A
;; ANSWER SECTION:
mail2.tribley.org. 83742 IN A 192.168.1.188
;; Query time: 1 msec
;; SERVER: 192.168.1.191#53(192.168.1.191)
;; WHEN: Sun May 10 20:27:11 2009
;; MSG SIZE rcvd: 51
Thanks again for your help,
Bill