Code:
> cat /etc/hosts
192.168.10.3 mail.thefelsons.us mail
127.0.0.1 localhost.localdomain localhost
Code:
> cat /etc/resolv.conf
domain thefelsons.us
nameserver 127.0.0.1
Code:
> dig yourdomain.com any
bash: dig: command not found
Code:
but elsewhere I have it installed.
$ dig mail.thefelsons.us
; <<>> DiG 9.4.3-P4 <<>> mail.thefelsons.us
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37699
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5
;; QUESTION SECTION:
;mail.thefelsons.us. IN A
;; ANSWER SECTION:
mail.thefelsons.us. 600 IN A 68.2.93.108
;; AUTHORITY SECTION:
thefelsons.us. 900 IN NS ns3.mydyndns.org.
thefelsons.us. 900 IN NS ns1.mydyndns.org.
thefelsons.us. 900 IN NS ns2.mydyndns.org.
thefelsons.us. 900 IN NS ns5.mydyndns.org.
thefelsons.us. 900 IN NS ns4.mydyndns.org.
;; ADDITIONAL SECTION:
ns1.mydyndns.org. 319 IN A 204.13.248.76
ns2.mydyndns.org. 89 IN A 204.13.249.76
ns3.mydyndns.org. 89 IN A 208.78.69.76
ns4.mydyndns.org. 89 IN A 91.198.22.76
ns5.mydyndns.org. 89 IN A 203.62.195.76
;; Query time: 86 msec
;; SERVER: 192.168.10.1#53(192.168.10.1)
;; WHEN: Fri Mar 19 00:51:50 2010
;; MSG SIZE rcvd: 234
NOTE: I'm using a mail service of dyndns. The pick up mail to their port 25, buffer and do some despamming and deliver to my router's port 24 which forwards to zimbra port 25. It works fine.
Code:
>dig yourdomain.com mx
$ dig mail.thefelsons.us mx
; <<>> DiG 9.4.3-P4 <<>> mail.thefelsons.us mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18450
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;mail.thefelsons.us. IN MX
;; AUTHORITY SECTION:
thefelsons.us. 900 IN SOA ns1.mydyndns.org. zone-admin.dyndns.com. 2010030124 10800 1800 604800 1800
;; Query time: 123 msec
;; SERVER: 192.168.10.1#53(192.168.10.1)
;; WHEN: Fri Mar 19 00:53:12 2010
;; MSG SIZE rcvd: 109
Code:
> host `hostname` <- use that exact command with backticks not single quotes
host `hostname`
bash: host: command not found
root@mail:/# hostname
mail
root@mail:/# ping mail
PING mail.thefelsons.us (192.168.10.3) 56(84) bytes of data.
64 bytes from mail.thefelsons.us (192.168.10.3): icmp_seq=1 ttl=64 time=0.046 ms
Does that tell you what you wanted w/ the host command?
cert is from cacert. csr is from zimbra's gui, or instructions given on official zimbra site. both break system and cause the logger error I reported.