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 Display Modes
  #11 (permalink)  
Old 06-18-2009, 07:52 PM
Senior Member
 
Posts: 55
Default

Quote:
Originally Posted by phoenix View Post
No, I didn't say it was a failure it's only slightly wrong but just enough to cause a problem. Have a look at this article and see if you can find the files needed to make the changes I've mentioned.
Thanks a lot Phoenix.I have changed th e configuration as per the article.The out put of nsllookup is

root@pop:~# nslookup domain.com
Server: 192.168.10.5
Address: 192.168.10.5#53

Non-authoritative answer:
Name: ksfe.com
Address: 10.10.10.3

Whether this one is right?
The tutorial says it will return the private address.But it returns both ipnumbers.
Reply With Quote
  #12 (permalink)  
Old 06-18-2009, 08:03 PM
Senior Member
 
Posts: 55
Default

I have tried again to send mail to outside domains.But it says in zimbra log as follows

Jun 19 07:31:29 pop postfix/smtp[24763]: 6D8AB802318: to=<ask2me007@gmail.com>, relay=none, delay=0.2, delays=0.14/0.05/0.01/0, dsn=4.4.1, status=deferred (connect to 59.93.43.183[59.93.43.183]: Connection refused)
Jun 19 07:31:29 pop postfix/smtp[24766]: 7BB8C802317: to=<ask2me007@gmail.com>, relay=none, delay=0.15, delays=0.09/0.04/0.01/0, dsn=4.4.1, status=deferred (connect to 59.93.43.183[59.93.43.183]: Connection refused)
Reply With Quote
  #13 (permalink)  
Old 06-19-2009, 12:03 AM
Zimbra Consultant & Moderator
 
Posts: 11,517
Default

Quote:
Originally Posted by ask2me007 View Post
The tutorial says it will return the private address.But it returns both ipnumbers.
What is the IP address of your Zimbra server, is it this 192.168.10.5?
__________________
Regards


Bill
Reply With Quote
  #14 (permalink)  
Old 06-19-2009, 01:09 AM
Senior Member
 
Posts: 55
Default

Quote:
Originally Posted by phoenix View Post
What is the IP address of your Zimbra server, is it this 192.168.10.5?

Internal IP is 192.168.10.5
My external ip is 59.93.43.183 and we are in NAT.
The ip of my router is 192.168.10.240

Thanks again
Reply With Quote
  #15 (permalink)  
Old 06-19-2009, 01:20 AM
Zimbra Consultant & Moderator
 
Posts: 11,517
Default

OK, it's my fauly I missed this one earlier. In your hosts file you only need the following two lines:

Code:
127.0.0.1 localhost.localdomain localhost
192.168.10.5 pop.domain.com pop
remove any other lines and try again. When you want to check your settings use the commands I gave you earlier.
__________________
Regards


Bill
Reply With Quote
  #16 (permalink)  
Old 06-19-2009, 02:00 AM
Senior Member
 
Posts: 55
Default

Quote:
Originally Posted by phoenix View Post
OK, it's my fauly I missed this one earlier. In your hosts file you only need the following two lines:

Code:
127.0.0.1 localhost.localdomain localhost
192.168.10.5 pop.domain.com pop
remove any other lines and try again. When you want to check your settings use the commands I gave you earlier.

Its alright Phoneix
I Restarted the machine.Started bind9 and seen the same error message

Jun 19 13:26:05 pop amavis[6898]: (06898-01) FWD via SMTP: <ask@domain.com> -> <ksfebas@gmail.com>,BODY=7BIT 250 2.6.0 Ok, id=06898-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as B0911802315
Jun 19 13:26:05 pop postfix/smtp[18845]: connect to 59.93.43.183[59.93.43.183]: Connection refused (port 25)
Reply With Quote
  #17 (permalink)  
Old 06-19-2009, 02:08 AM
Moderator
 
Posts: 5,806
Default

As Phoenix has said please post the following output again so we can check since changes have been made
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #18 (permalink)  
Old 06-19-2009, 02:10 AM
Zimbra Consultant & Moderator
 
Posts: 11,517
Default

Let's check that everything is working correctly. I don't know if Ubuntu installs another MTA but do you have any other mailserver running on your system? Run the following commands on your server:

Code:
su - zimbra
zmcontrol status
That should show all the services running, if the MTA isn't running then do this:

Code:
telnet localhost 25
If you get a valid response from that then you have another MTA running and it needs to be stopped and disabled. If you need to stop it then restart Zimbra again and see if you can send email. If there's still the same problem then run these commands again and post the output:

Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
Ubuntu also has Apparmor but I don't know if it's enabled by default, can you check and disable it if it's running and you should also make sure there's no firewall running on that server.
__________________
Regards


Bill
Reply With Quote
  #19 (permalink)  
Old 06-19-2009, 02:38 AM
Senior Member
 
Posts: 55
Default

Quote:
Originally Posted by uxbod View Post
As Phoenix has said please post the following output again so we can check since changes have been made
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes


zimbra@pop:/root$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.10.5 pop.domain.com pop
# 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


zimbra@pop:/root$ cat /etc/resolv.conf
// replace example.com with your domain name, and 192.168.0.1 with the address of your new DNS server.
//search domain.com
nameserver 192.168.10.5

zimbra@pop:/root$ dig domain.com mx

; <<>> DiG 9.4.2 <<>> domain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51129
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 1

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

;; ANSWER SECTION:
domain.com. 1 IN MX 0 pop.domain.com.
domain.com. 1 IN MX 10 pop.domain.com.

;; AUTHORITY SECTION:
domain.com. 172028 IN NS ns2.cdit.org.
domain.com. 172028 IN NS ns1.cdit.org.

;; ADDITIONAL SECTION:
pop.domain.com. 1 IN A 59.93.43.183

;; Query time: 289 msec
;; SERVER: 192.168.10.5#53(192.168.10.5)
;; WHEN: Fri Jun 19 14:00:52 2009
;; MSG SIZE rcvd: 122



zimbra@pop:/root$ dig domain.com any

; <<>> DiG 9.4.2 <<>> domain.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6479
;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 3, ADDITIONAL: 2

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

;; ANSWER SECTION:
domain.com. 1 IN SOA ns3.cdit.org. hostmaster.cdit.org. 2002121945 10800 3600 604800 1
domain.com. 1 IN A 200.00.00.83
domain.com. 1 IN MX 0 pop.domain.com.
domain.com. 1 IN MX 10 pop.domain.com.
domain.com. 1 IN NS ns2.cdit.org.
domain.com. 1 IN NS ns4.cdit.org.
domain.com. 1 IN NS ns3.cdit.org.

;; AUTHORITY SECTION:
domain.com. 1 IN NS ns4.cdit.org.
domain.com. 1 IN NS ns2.cdit.org.
domain.com. 1 IN NS ns3.cdit.org.

;; ADDITIONAL SECTION:
pop.domain.com. 1 IN A 59.93.43.183
ns2.cdit.org. 147 IN A 200.00.00.83

;; Query time: 331 msec
;; SERVER: 192.168.10.5#53(192.168.10.5)
;; WHEN: Fri Jun 19 14:03:43 2009
;; MSG SIZE rcvd: 261



zimbra@pop:/root$ host `hostname`
pop.domain.com has address 59.93.43.183
Reply With Quote
  #20 (permalink)  
Old 06-19-2009, 02:42 AM
Moderator
 
Posts: 5,806
Default

Would you please post your named.conf and the actual zone data file please for your domain. I would guess you have put in your zone file your upstream DNS name server instead of your local one.
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0