Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 02-04-2009, 12:02 PM
Moderator
 
Posts: 7,911
Default

Okay, so lets go about checking your DNS
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
this needs to be executed on your Zimbra server.
__________________
Reply With Quote
  #12 (permalink)  
Old 02-04-2009, 12:12 PM
Senior Member
 
Posts: 70
Default

Quote:
Originally Posted by uxbod View Post
Okay, so lets go about checking your DNS
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
this needs to be executed on your Zimbra server.
Code:
root@webmail:~# cat /etc/hosts
127.0.0.1       localhost
192.0.0.10      mail.baerconsult.com baerconsult.com mail webmail

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
root@webmail:~# cat /etc/resolv.conf
nameserver 127.0.0.1
root@webmail:~# dig mail.baerconsult.com mx

; <<>> DiG 9.3.2-P2.1 <<>> mail.baerconsult.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5368
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.baerconsult.com.          IN      MX

;; AUTHORITY SECTION:
baerconsult.com.        604800  IN      SOA     mail.baerconsult.com. admin.baerconsult.com. 2008062801 604800 86400 2419200 604800

;; Query time: 4 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Feb  4 13:02:01 2009
;; MSG SIZE  rcvd: 80

root@webmail:~# dig mail.baerconsult.com any

; <<>> DiG 9.3.2-P2.1 <<>> mail.baerconsult.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57531
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.baerconsult.com.          IN      ANY

;; ANSWER SECTION:
mail.baerconsult.com.   604800  IN      A       75.150.206.10

;; AUTHORITY SECTION:
baerconsult.com.        604800  IN      NS      mail.baerconsult.com.

;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Feb  4 13:02:07 2009
;; MSG SIZE  rcvd: 68

root@webmail:~# host 'mail.baerconsult.com'
mail.baerconsult.com has address 75.150.206.10
I am also getting bounce messages now. One from a different server says
Code:
Reporting-MTA: dns; mail.baerconsult.com
X-Postfix-Queue-ID: BF25859404A
X-Postfix-Sender: rfc822; mattbaer@comcast.net
Arrival-Date: Wed,  4 Feb 2009 12:43:02 -0600 (CST)

Final-Recipient: rfc822; test@baerconsult.com
Original-Recipient: rfc822;test@baerconsult.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; baerconsult.com
And now, I'm getting different errors in my logs. I was getting "Mail Transport Unavailable" but am not now. Here is the most recent log:
Code:
Feb  4 13:00:35 mail postfix/qmgr[7419]: 1E0FB59402F: from=<zimbra@mail.baerconsult.com>, size=470, nrcpt=1 (queue active)
Feb  4 13:00:35 mail postfix/lmtp[7517]: 1E0FB59402F: to=<admin@baerconsult.com>, relay=mail.baerconsult.com[192.0.0.10]:7025, delay=0.18, delays=0.05/0/0.03/0.1, dsn=2.1.5, status=sent (250 2.1.5 OK)
Feb  4 13:00:35 mail postfix/qmgr[7419]: 1E0FB59402F: removed
Feb  4 13:00:37 mail zmmailboxdmgr[8960]: status requested
Feb  4 13:00:37 mail zmmailboxdmgr[8960]: status OK
Feb  4 13:00:38 mail postfix/pickup[7420]: 0A0D359402F: uid=1001 from=<zimbra>
Feb  4 13:00:38 mail postfix/cleanup[7511]: 0A0D359402F: message-id=<20090204190038.0A0D359402F@mail.baerconsult.com>
Feb  4 13:00:38 mail postfix/qmgr[7419]: 0A0D359402F: from=<zimbra@mail.baerconsult.com>, size=474, nrcpt=1 (queue active)
Feb  4 13:00:38 mail postfix/lmtp[7432]: 0A0D359402F: to=<admin@baerconsult.com>, relay=mail.baerconsult.com[192.0.0.10]:7025, delay=0.32, delays=0.19/0/0/0.13, dsn=2.1.5, status=sent (250 2.1.5 OK)
Feb  4 13:00:38 mail postfix/qmgr[7419]: 0A0D359402F: removed
Feb  4 13:00:39 mail postfix/smtpd[7503]: disconnect from qmta03.emeryville.ca.mail.comcast.net[76.96.30.32]
Feb  4 13:01:18 mail postfix/smtpd[7506]: disconnect from qmta10.westchester.pa.mail.comcast.net[76.96.62.17]
Feb  4 13:01:53 mail zmmailboxdmgr[9253]: status requested
Feb  4 13:01:53 mail zmmailboxdmgr[9253]: status OK
Feb  4 13:01:55 mail zmmailboxdmgr[9351]: status requested
Feb  4 13:01:55 mail zmmailboxdmgr[9351]: status OK
Feb  4 13:02:06 mail zmmailboxdmgr[9471]: status requested
Feb  4 13:02:06 mail zmmailboxdmgr[9471]: status OK
Feb  4 13:02:38 mail postfix/smtpd[7506]: connect from unknown[192.168.10.75]
Feb  4 13:02:38 mail postfix/smtpd[7506]: lost connection after CONNECT from unknown[192.168.10.75]
Feb  4 13:02:38 mail postfix/smtpd[7506]: disconnect from unknown[192.168.10.75]
Feb  4 13:02:43 mail postfix/smtpd[7506]: connect from qmta02.emeryville.ca.mail.comcast.net[76.96.30.24]
Feb  4 13:02:43 mail postfix/smtpd[7506]: 9219859402D: client=qmta02.emeryville.ca.mail.comcast.net[76.96.30.24]
Feb  4 13:02:43 mail postfix/cleanup[9594]: 9219859402D: message-id=<21594827.1233774439073.JavaMail.SYSTEM@desktoppc>
Feb  4 13:02:43 mail postfix/qmgr[7419]: 9219859402D: from=<notification@opmanager.com>, size=3793, nrcpt=1 (queue active)
Feb  4 13:02:44 mail postfix/smtpd[9599]: connect from mail.baerconsult.com[192.0.0.10]
Feb  4 13:02:44 mail postfix/smtpd[9599]: 0B76E59402F: client=mail.baerconsult.com[192.0.0.10]
Feb  4 13:02:44 mail postfix/cleanup[9594]: 0B76E59402F: message-id=<4002470.71233774163997.JavaMail.root@webmail>
Feb  4 13:02:44 mail postfix/qmgr[7419]: 0B76E59402F: from=<>, size=726, nrcpt=1 (queue active)
Feb  4 13:02:44 mail postfix/lmtp[9597]: 9219859402D: to=<siteadmin@baerconsult.com>, relay=mail.baerconsult.com[192.0.0.10]:7025, delay=0.66, delays=0.45/0.02/0/0.2, dsn=2.1.5, status=sent (250 2.1.5 OK)
Feb  4 13:02:44 mail postfix/qmgr[7419]: 9219859402D: removed
Feb  4 13:02:44 mail postfix/smtpd[9599]: disconnect from mail.baerconsult.com[192.0.0.10]
Feb  4 13:02:44 mail postfix/lmtp[9600]: 0B76E59402F: to=<matt@baerconsult.com>, relay=mail.baerconsult.com[192.0.0.10]:7025, delay=0.16, delays=0.05/0.02/0.01/0.09, dsn=2.1.5, status=sent (250 2.1.5 OK)
Feb  4 13:02:44 mail postfix/qmgr[7419]: 0B76E59402F: removed
Feb  4 13:02:50 mail postfix/smtpd[9599]: connect from qmta09.emeryville.ca.mail.comcast.net[76.96.30.96]
Feb  4 13:02:51 mail postfix/smtpd[9599]: 41E4B59402D: client=qmta09.emeryville.ca.mail.comcast.net[76.96.30.96]
Feb  4 13:02:51 mail postfix/cleanup[9594]: 41E4B59402D: message-id=<23637354.1233774445583.JavaMail.SYSTEM@desktoppc>
Feb  4 13:02:51 mail postfix/qmgr[7419]: 41E4B59402D: from=<notification@opmanager.com>, size=3813, nrcpt=1 (queue active)
Feb  4 13:02:51 mail postfix/smtpd[9607]: connect from mail.baerconsult.com[192.0.0.10]
Feb  4 13:02:51 mail postfix/smtpd[9607]: AEA4259402F: client=mail.baerconsult.com[192.0.0.10]
Feb  4 13:02:51 mail postfix/cleanup[9594]: AEA4259402F: message-id=<19151089.81233774171667.JavaMail.root@webmail>
Feb  4 13:02:51 mail postfix/qmgr[7419]: AEA4259402F: from=<>, size=727, nrcpt=1 (queue active)
Feb  4 13:02:51 mail postfix/smtpd[9607]: disconnect from mail.baerconsult.com[192.0.0.10]
Feb  4 13:02:51 mail postfix/lmtp[9597]: 41E4B59402D: to=<siteadmin@baerconsult.com>, relay=mail.baerconsult.com[192.0.0.10]:7025, delay=0.57, delays=0.38/0/0/0.18, dsn=2.1.5, status=sent (250 2.1.5 OK)
Feb  4 13:02:51 mail postfix/qmgr[7419]: 41E4B59402D: removed
Feb  4 13:02:51 mail postfix/lmtp[9600]: AEA4259402F: to=<matt@baerconsult.com>, relay=mail.baerconsult.com[192.0.0.10]:7025, delay=0.1, delays=0.02/0/0/0.07, dsn=2.1.5, status=sent (250 2.1.5 OK)
Feb  4 13:02:51 mail postfix/qmgr[7419]: AEA4259402F: removed
Feb  4 13:03:11 mail zmmailboxdmgr[9829]: status requested
Feb  4 13:03:11 mail zmmailboxdmgr[9829]: status OK
Feb  4 13:03:13 mail zmmailboxdmgr[9927]: status requested
Feb  4 13:03:13 mail zmmailboxdmgr[9927]: status OK
Feb  4 13:03:38 mail postfix/scache[7490]: statistics: start interval Feb  4 12:59:17
Feb  4 13:03:38 mail postfix/scache[7490]: statistics: domain lookup hits=3 miss=6 success=33%
Feb  4 13:03:38 mail postfix/scache[7490]: statistics: address lookup hits=0 miss=6 success=0%
Feb  4 13:03:38 mail postfix/scache[7490]: statistics: max simultaneous domains=1 addresses=1 connection=5
Feb  4 13:03:43 mail postfix/smtpd[7506]: disconnect from qmta02.emeryville.ca.mail.comcast.net[76.96.30.24]
Feb  4 13:03:51 mail postfix/smtpd[9599]: disconnect from qmta09.emeryville.ca.mail.comcast.net[76.96.30.96]
Feb  4 13:04:06 mail zmmailboxdmgr[10074]: status requested
Feb  4 13:04:06 mail zmmailboxdmgr[10074]: status OK
Feb  4 13:04:28 mail zmmailboxdmgr[10370]: status requested
Feb  4 13:04:28 mail zmmailboxdmgr[10370]: status OK
Feb  4 13:04:31 mail zmmailboxdmgr[10475]: status requested
Feb  4 13:04:31 mail zmmailboxdmgr[10475]: status OK
I found in another thread, from someone that put their server behind a firewall, that they needed to uncheck the DNS look up, I tried that so everything in this post is under that change.
Reply With Quote
  #13 (permalink)  
Old 02-04-2009, 12:16 PM
Moderator
 
Posts: 7,911
Default

Okay, a few issues here ... As you are behind a firewall you will need to setup a Split DNS - Zimbra :: Wiki architecture. Secondly your /etc/hosts is incorrect so just set it up as follows
Code:
127.0.0.1       localhost
192.0.0.10      mail.baerconsult.com mail
__________________
Reply With Quote
  #14 (permalink)  
Old 02-04-2009, 12:16 PM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Your dig commands should be for your domain name not the FQDN of your server:

Code:
dig baerconsult.com any
dig baerconsult.com mx
__________________
Regards


Bill
Reply With Quote
  #15 (permalink)  
Old 02-04-2009, 12:19 PM
Senior Member
 
Posts: 70
Default Correction

Quote:
Originally Posted by phoenix View Post
Your dig commands should be for your domain name not the FQDN of your server:

Code:
dig baerconsult.com any
dig baerconsult.com mx
Code:
root@webmail:~# dig baerconsult.com any

; <<>> DiG 9.3.2-P2.1 <<>> baerconsult.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53425
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;baerconsult.com.               IN      ANY

;; ANSWER SECTION:
baerconsult.com.        604800  IN      SOA     mail.baerconsult.com. admin.baerconsult.com. 2008062801 604800 86400 2419200 604800
baerconsult.com.        604800  IN      NS      mail.baerconsult.com.
baerconsult.com.        604800  IN      MX      10 mail.baerconsult.com.
baerconsult.com.        604800  IN      A       75.150.206.10

;; ADDITIONAL SECTION:
mail.baerconsult.com.   604800  IN      A       75.150.206.10

;; Query time: 6 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Feb  4 13:13:40 2009
;; MSG SIZE  rcvd: 142

root@webmail:~# dig baerconsult.com mx

; <<>> DiG 9.3.2-P2.1 <<>> baerconsult.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51705
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;baerconsult.com.               IN      MX

;; ANSWER SECTION:
baerconsult.com.        604800  IN      MX      10 mail.baerconsult.com.

;; AUTHORITY SECTION:
baerconsult.com.        604800  IN      NS      mail.baerconsult.com.

;; ADDITIONAL SECTION:
mail.baerconsult.com.   604800  IN      A       75.150.206.10

;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Feb  4 13:13:52 2009
;; MSG SIZE  rcvd: 84
I will look at that split-DNS now.
Reply With Quote
  #16 (permalink)  
Old 02-04-2009, 12:44 PM
Senior Member
 
Posts: 70
Default Named

Quote:
Originally Posted by uxbod View Post
Okay, a few issues here ... As you are behind a firewall you will need to setup a Split DNS - Zimbra :: Wiki architecture. Secondly your /etc/hosts is incorrect so just set it up as follows
Code:
127.0.0.1       localhost
192.0.0.10      mail.baerconsult.com mail
I was going through that tutorial for the split-DNS and apparently, I'm missing "named" and I can't install it. BIND is installed, but named is not. I'm about ready to give up on this whole thing and cut my losses.
Reply With Quote
  #17 (permalink)  
Old 02-04-2009, 12:49 PM
Moderator
 
Posts: 7,911
Default

BIND = named
__________________
Reply With Quote
  #18 (permalink)  
Old 02-04-2009, 01:22 PM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by uxbod View Post
Code:
127.0.0.1       localhost
Shouldn't that read:

Code:
127.0.0.1 localhost.localdomain localhost
__________________
Regards


Bill
Reply With Quote
  #19 (permalink)  
Old 02-04-2009, 01:26 PM
Moderator
 
Posts: 7,911
Default

Yup Have a read all the way through Community Edition :: Quick Install Guide as this will give you a good start in setting things up.
__________________
Reply With Quote
  #20 (permalink)  
Old 02-04-2009, 08:52 PM
Senior Member
 
Posts: 70
Default Success...no idea how though

Quote:
Originally Posted by uxbod View Post
Yup Have a read all the way through Community Edition :: Quick Install Guide as this will give you a good start in setting things up.
I started walking through the split DNS and got through the majority of it until starting named, which I apparently don't have. I had to leave for work at that time so I gave up for the time being but by the time I got to work, I was receiving e-mail again. I'm not really sure which part did it, but sure enough, it works. I just hope there aren't any open security issues now....
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.