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

Thread: [SOLVED] I can't receive mail!

  1. #1
    masterguido is offline Active Member
    Join Date
    Mar 2009
    Posts
    31
    Rep Power
    6

    Default [SOLVED] I can't receive mail!

    I have installed ubuntu 8 server and zimbra in a LAN with another server (opensuse11) with a static IP.
    I can send mail from zimbra to everybody but the only way I can receive mail is from another account in zimbra.
    my public IP is 200.40.171.98
    zimbra server is on 192.168.1.7
    I have made changes to my iptables script, as follows:
    Code:
    ANYNET=0.0.0.0/0
    iptables -A INPUT -i $ANYNET -p tcp --dport 25 -j ACCEPT
    iptables -A INPUT -i $ANYNET -p tcp --dport 110 -j ACCEPT
    iptables -t nat -A PREROUTING --dst 200.40.171.98 -p tcp --dport 25 -j DNAT --to 192.168.1.7
    of course there are a lot more things in this script but, except in default policies, there aren't any DROP rules.

    Please help.
    Thanks in advance

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

    Default

    I assume you've also checked that the option to 'Enable DNS lookups' is set in the MTA tab of the Admin UI? Although judging by this report it's a problem with your firewall. Have you also made sure that the firewall and AppArmor is disabled on your Zimbra server?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    masterguido is offline Active Member
    Join Date
    Mar 2009
    Posts
    31
    Rep Power
    6

    Default

    I assume you've also checked that the option to 'Enable DNS lookups' is set in the MTA tab of the Admin UI? Although judging by this report it's a problem with your firewall. Have you also made sure that the firewall and AppArmor is disabled on your Zimbra server?
    The 'Enable DNS lookups' was set.
    I have no firewall on Zimbra Server, but when I type
    Code:
    /etc/init.d/apparmor stop
    ubuntu answers:

    Unloading AppArmor profiles: Done

    But still no incoming mail.

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

    Default

    From another machine on your LAN try a telnet to the zimbra server on port 25, does it work? Are all the zimbra services up and running? What does the output of the following show:

    Code:
    zmcontrol status
    According to the report I gave you earlier there's a 'connection refused' which usually means that a port is blocked or a service isn't running. Please check that the firewall is really disabled on the Zimbra server and that AppArmor is also disabled and stopped from starting at boot time. Does your ISP actually block port 25 or are you allowed to run a mail server on your IP address?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    masterguido is offline Active Member
    Join Date
    Mar 2009
    Posts
    31
    Rep Power
    6

    Default

    From another machine on your LAN try a telnet to the zimbra server on port 25
    Work.
    Code:
    220 correo.sanjuan.edu.uy ESMTP Postfix
    zmcontrol status
    antispam...Running
    antivirus...Running
    imapproxy...Running
    ldap...Running
    logger...Running
    mailbox...Running
    mta...Running
    snmp...Running
    spell...Running
    stats...Running

    No firewall (on zimbra box) neither AppArmor. I donīt think my ISP blocks port 25

    If I try to telnet port 25 from outside the lan, i get an error (conexion refused)

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

    Default

    Quote Originally Posted by masterguido View Post
    Work.
    Code:
    220 correo.sanjuan.edu.uy ESMTP Postfix


    antispam...Running
    antivirus...Running
    imapproxy...Running
    ldap...Running
    logger...Running
    mailbox...Running
    mta...Running
    snmp...Running
    spell...Running
    stats...Running

    No firewall (on zimbra box) neither AppArmor. I donīt think my ISP blocks port 25
    OK, so that indicates that you have no problem with your Zimbra server and that there's no firewall on the server causing problems.

    Quote Originally Posted by masterguido View Post
    If I try to telnet port 25 from outside the lan, i get an error (conexion refused)
    That would indicate that your firewall is blocking access to your Zimbra server or the port is not forwarded to the correct LAN IP or that your ISP is blocking port 25 - one of those is likely to be the problem.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

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

    Default

    You should also have a look at the link I gave you earlier for the wiki Firewall article, that was a working set-up and see if it matches your firewall rules.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    masterguido is offline Active Member
    Join Date
    Mar 2009
    Posts
    31
    Rep Power
    6

    Default

    Now it's working!!!
    I have an error on my iptables file.

    Just one final question (I hope):
    when, from outside my lan, I try to access my mail server:
    Code:
    http://correo.sanjuan.edu.uy
    I get the main site page, without mail access.

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

    Default

    You've obviously got a web server sitting on the same IP address as your Zimbra server, using http for Zimbra will get you to your web server (as they're both using port 80). You also shouldn't use http for your Zimbra server if it's on the internet as it's not very secure, I'd suggest you change Zimbra to use https by using this command and forward port 443 to the LAN IP of your Zimbra server - your users will now be able to get to their mail by entering https://correo.sanjuan.edu.uy in their browser.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    masterguido is offline Active Member
    Join Date
    Mar 2009
    Posts
    31
    Rep Power
    6

    Default

    Thank you very much!!
    That was all that I needed. Now zimbra is working perfectly.

    Thanks again Phoenix

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. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. Replies: 30
    Last Post: 01-13-2009, 08:00 AM
  3. Migration Assistance
    By dwill in forum Administrators
    Replies: 10
    Last Post: 12-02-2008, 08:20 AM
  4. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 11:44 AM
  5. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 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
  •