Results 1 to 9 of 9

Thread: Can't send emails out

  1. #1
    jack-Z is offline Member
    Join Date
    Feb 2006
    Posts
    10
    Rep Power
    9

    Default Can't send emails out

    I just installed Zimbra on FC4, no firewall. But I can't send any emails out from Zimbra server.
    I can't telnet to any email server's port 25 from the Zimbra server, but can do it from other hosts in the same network.
    It must be something in the Zimbra server simply block outbound port 25 traffic. Does anyone has similar experience?
    Any help is highly appreciated!!


    Here is the console output from Zimbra server:

    [root@mail mail]# host -t MX gmail.com
    gmail.com mail is handled by 10 alt1.gmail-smtp-in.l.google.com.
    gmail.com mail is handled by 10 alt2.gmail-smtp-in.l.google.com.
    gmail.com mail is handled by 50 gsmtp163.google.com.
    gmail.com mail is handled by 50 gsmtp183.google.com.
    gmail.com mail is handled by 5 gmail-smtp-in.l.google.com.
    [root@mail mail]# telnet gmail-smtp-in.l.google.com 25
    Trying 64.233.163.114...

    When try to run "telnet gmail-smtp-in.l.google.com 25" in another PC, I got the response right away.

  2. #2
    jack-Z is offline Member
    Join Date
    Feb 2006
    Posts
    10
    Rep Power
    9

    Default

    Here is the output of postqueue, does this mean postfix is down?

    [root@mail mail]# postqueue -p
    postqueue: warning: Mail system is down -- accessing queue directly
    Mail queue is empty

    But when I tried to telnet to the Zimbra server port 25, I got reply:

    220 mail.server.com ESMTP Postfix

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Zimbra doesn't block any outbound port 25, do you have SELinux installed or activated? Did the Zimbra server install OK? Do you have postfix disabled on this system?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    jack-Z is offline Member
    Join Date
    Feb 2006
    Posts
    10
    Rep Power
    9

    Default

    Sounds like it is not something to do with the Zimbra.
    SELinux is installed by default, but I have disabled it by runnning "set enforcement=0". Also I can telnet 127.0.0.1 25, please see the output here:
    [root@mail ~]# telnet 127.0.0.1 25
    Trying 127.0.0.1...
    Connected to localhost.localdomain (127.0.0.1).
    Escape character is '^]'.
    220 mail.server.com ESMTP Postfix
    quit
    221 Bye
    Connection closed by foreign host..

    Any ideas?

    Thanks!

  5. #5
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    Try resolving the IP addresses of those remote mail servers from the zimbra box - is that working? Try telnetting by IP - is that working? Try traceroute - does that work.

    Remember - troubleshooting is about reducing variables.

  6. #6
    jack-Z is offline Member
    Join Date
    Feb 2006
    Posts
    10
    Rep Power
    9

    Default

    It didn't work neither by IP or by hostname. Tracewoute no problem.
    I just tested with one email server, could telnet to port 80, but not 25, but from an XP PC DOS prompt I could telnet to both ports.

  7. #7
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    This is probably your ISP, but you may have a weird firewall setup on your linux server (but zimbra isn't blocking outbound anything).

    iptables -t nat -L
    iptables -L

    What do those two commands return? (You'll need to be root).

  8. #8
    jack-Z is offline Member
    Join Date
    Feb 2006
    Posts
    10
    Rep Power
    9

    Default

    Firewall is wide opened, please see below:

    [root@mail ~]# iptables -t nat -L
    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain POSTROUTING (policy ACCEPT)
    target prot opt source destination

    Chain PREROUTING (policy ACCEPT)
    target prot opt source destination
    [root@mail ~]# iptables -L
    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain RH-Firewall-1-INPUT (0 references)
    target prot opt source destination
    [root@mail ~]#

  9. #9
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    If you can traceroute to remote hosts, but can't get there on port 25, and it's not being blocked by the server's firewall, it's being blocked somewhere else. Any intervening firewalls before you hit the internet? What kind of connection are you on (dedicated, dsl, cable, etc?)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. cant send emails
    By derr1ck in forum Administrators
    Replies: 0
    Last Post: 06-25-2007, 09:55 AM
  2. Replies: 4
    Last Post: 12-19-2006, 05:33 AM
  3. Errors because of Deffered emails
    By mansuper in forum Administrators
    Replies: 0
    Last Post: 11-20-2006, 04:08 PM
  4. Can't send emails from Outlook using ZCO
    By vshah in forum Zimbra Connector for Outlook
    Replies: 2
    Last Post: 11-20-2006, 10:02 AM
  5. Not receiving emails
    By koby in forum Installation
    Replies: 2
    Last Post: 08-28-2006, 03:29 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
  •