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

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
  #1 (permalink)  
Old 10-27-2006, 01:41 AM
Member
 
Posts: 11
Default Cannot send mail - connection refused

I wanted to test ZCS, so I have set it up on a FC5 server. Firewall and SELinux are both disabled. Since it is not a production server, I dont plan on sending messages out to the internet, I just want to be able to have two users on the same Zimbra server send to each other. DNS is also run off the same box as Zimbra, should this be a problem? Checking all DNS records it seems fine, seems to resolve properly. Also, because I don't plan on sending mail out to the internet, I am using a bogus domain that is defined in DNS, and was recognized during Zimbra installation.

Now that everything is setup, I am trying to send from one zimbra account to another, it is sending without any error messages within the webmail client, the interesting part of the log shows:

Code:
Oct 27 16:20:06 myhostname postfix/smtp[840]: 0AA0FF548AE: to=, relay=none, delay=10804, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Oct 27 16:20:06 myhostname postfix/smtp[842]: 762D9F548BF: to=, relay=none, delay=3005, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Oct 27 16:20:06 myhostname postfix/smtp[843]: 7DD72F548B9: to=, relay=none, delay=6605, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Oct 27 16:20:06 myhostname postfix/qmgr[28743]: 19C71F548C4: to=, relay=none, delay=3604, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
So all the messages are stuck in deferred status. I can reach port 25 and 7025 when telnetting from the server, but port 25 is dead when trying to telnet from another pc, however port 7025 works.

Any help would be much appreciated.

Last edited by ojkeyboard; 10-27-2006 at 01:53 AM..
Reply With Quote
  #2 (permalink)  
Old 10-27-2006, 06:01 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Do the DNS records resolve correctly to your LAN IP address (not 127.0.0.1)? There's no problem running DNS on the same box as Zimbra, I do. If you can't telnet to port 25 from another PC then you either have a DNS problem, a firewall or selinx enabled or there's nothing listening to port 25 on that IP. What does
Code:
host `hostname`
report?
__________________
Regards


Bill

Last edited by phoenix; 10-29-2006 at 11:10 PM..
Reply With Quote
  #3 (permalink)  
Old 10-29-2006, 04:47 PM
Member
 
Posts: 11
Default

host 'myhost' returns with:

Code:
;; connection timed out; no servers could be reached
host 'myhost.mydomain.com' returns with:

Code:
myhost.mydomain.com has address 192.168.0.0

Last edited by ojkeyboard; 10-29-2006 at 04:56 PM..
Reply With Quote
  #4 (permalink)  
Old 10-29-2006, 06:56 PM
Member
 
Posts: 11
Default

Also an nmap scan of the server shows:

Code:
PORT    STATE SERVICE
22/tcp  open  ssh
25/tcp  open  smtp
53/tcp  open  domain
80/tcp  open  http
110/tcp open  pop3
Reply With Quote
  #5 (permalink)  
Old 10-29-2006, 08:52 PM
Zimbra Employee
 
Posts: 1,434
Default Lmtp: 7025

Make sure that port 7025 is open for LMTP delivery.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #6 (permalink)  
Old 10-29-2006, 10:49 PM
Member
 
Posts: 11
Default

yep, port 7025 is open, I can telnet to that port from another pc w/o problems.
Reply With Quote
  #7 (permalink)  
Old 10-29-2006, 11:12 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by ojkeyboard
host 'myhost.mydomain.com' returns with:

Code:
myhost.mydomain.com has address 192.168.0.0
If that's really what it returned then it's not a valid IP address, it need to be in the range 192.168.0.1 -> 192.168.1.n
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 10-29-2006, 11:20 PM
Member
 
Posts: 11
Default

Sorry my mistake, it was an actual IP address, it returned with the IP address of my zimbra server. I just put the 192.168.0.0 to represent it.
Reply With Quote
  #9 (permalink)  
Old 10-29-2006, 11:32 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

That's OK, posting a internal IP address makes no difference and isn't a security risk. Are you absolutely postive that SElinux is disabled?
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 10-29-2006, 11:38 PM
Member
 
Posts: 11
Default

Firewall and SELinux are both disabled. Trying it now, I was able to telnet to the SMTP port from another pc, but still unable to send. I'll be able to verify if I'm still getting the same error in the logs in just a bit.
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.