Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Cannot send mail - connection refused

  1. #1
    ojkeyboard is offline Member
    Join Date
    Oct 2006
    Posts
    11
    Rep Power
    8

    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.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,568
    Rep Power
    57

    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?
    Last edited by phoenix; 10-30-2006 at 12:10 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    ojkeyboard is offline Member
    Join Date
    Oct 2006
    Posts
    11
    Rep Power
    8

    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 05:56 PM.

  4. #4
    ojkeyboard is offline Member
    Join Date
    Oct 2006
    Posts
    11
    Rep Power
    8

    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

  5. #5
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    Default Lmtp: 7025

    Make sure that port 7025 is open for LMTP delivery.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  6. #6
    ojkeyboard is offline Member
    Join Date
    Oct 2006
    Posts
    11
    Rep Power
    8

    Default

    yep, port 7025 is open, I can telnet to that port from another pc w/o problems.

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,568
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    ojkeyboard is offline Member
    Join Date
    Oct 2006
    Posts
    11
    Rep Power
    8

    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.

  9. #9
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,568
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    ojkeyboard is offline Member
    Join Date
    Oct 2006
    Posts
    11
    Rep Power
    8

    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.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 01:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  4. DynDNS and Zimbra
    By afterwego in forum Installation
    Replies: 30
    Last Post: 04-01-2007, 03:34 PM
  5. SMTP SSL Problem
    By nexus in forum Installation
    Replies: 8
    Last Post: 03-15-2007, 07:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •