Results 1 to 10 of 10

Thread: Running Zimbra and Apache?

  1. #1
    Join Date
    Oct 2005
    Posts
    6
    Rep Power
    10

    Default Running Zimbra and Apache?

    I'd like to set up zimbra as a mail server at mail.domain.com and have apache intercept direct addresses at domain.com

    If need be, I'd like the mail. address the one that's running on an alternative port to the standard 80. How can I configure the internal tomcat server to listen on a different port? Or is there a more sophisticated solution?

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    If you install the server as mail.domain.com and then set you Mx record in DNS to point here you should be fine. You won't need apache since the external MTA's should route mail directly to Zimbra.

    If you really want to change the Zimbra port then you'll need to change iptables to remap the 7070/7071 ports and change tomcat's config files to the new port as well.

  3. #3
    Join Date
    Oct 2005
    Posts
    6
    Rep Power
    10

    Default

    The MX record will handle forwarding requests for web access as well?

    Apache on port 80 would be running a site entirely seperate from zimbra.

    So a browser addressing:
    http://domain.com
    and
    http://www.domain.com
    Hit apache on port 80 and are shown an internal only website. Where as anybody anywhere could hit mail.domain.com and Zimbra/Tomcat would take over the request. Obviously a firewall config would be required to allow external traffic into zimbra.

    What ports are required by Zimbra to be forwarded? Just 7070 for general use and then 7071 if I want admin panel access from outside the network too?

  4. #4
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    So you want to run apache on the same box? If so then yes you need to move Zimbra. My thinking was mail.domain.com is a seperate box and users can go to mail.domain.com to use the webmail.

    If you drop the forward rule in iptables for 7070 -> 80 then you can run apache on 80 and just have your mail on 7070/7071

  5. #5
    Join Date
    Oct 2005
    Posts
    6
    Rep Power
    10

    Default

    Doesn't the web interface for Zimbra listen on port 80 though? If not, why is it that a browser doesn't have to enter in a port like virtually everything else running on something other than port 80?

    How is Zimbra configured to run on another port?

  6. #6
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Quote Originally Posted by zcook
    Doesn't the web interface for Zimbra listen on port 80 though? If not, why is it that a browser doesn't have to enter in a port like virtually everything else running on something other than port 80?

    How is Zimbra configured to run on another port?
    Our web interface(tomcat) runs on port 7070 and 7071 (for ssl). Via iptables we map it to 443 and 80. So if you simply remove the iptables mappings for 80 and 443 you can just access the app on 7070/7071.

  7. #7
    Join Date
    Jul 2008
    Posts
    8
    Rep Power
    7

    Default

    I also want to do this, but via iptables -L I see no rule.

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by rototom View Post
    I also want to do this, but via iptables -L I see no rule.
    We don't use iptables, that was an initial feature that was dropped. It's also not recommended to run a firewall (or SElinux) on the Zimbra server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    Join Date
    Jul 2008
    Posts
    8
    Rep Power
    7

    Default

    So, how can I run a separate apache on the server?

  10. #10
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by rototom View Post
    So, how can I run a separate apache on the server?
    You can search the forums and the wiki, there are several article describing how to do it.

    BTW, the Zimbra mysql does not block the port that a standard MySQL uses as we run MySQL on a non-standard port. We do not advise running any other services on the Zimbra server, they can impact the server performance (zimbra & your web server).
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. Replies: 9
    Last Post: 03-01-2008, 08:21 PM
  2. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 11:34 PM
  3. port 7071 not listening OS X install
    By leeimber in forum Installation
    Replies: 7
    Last Post: 03-21-2006, 10:47 AM
  4. Seeming variety of problems on suse-9.1
    By Crexis in forum Installation
    Replies: 52
    Last Post: 03-04-2006, 12:19 AM
  5. Monitoring : Data not yet avalaible
    By s3nz3x in forum Installation
    Replies: 7
    Last Post: 11-30-2005, 07:18 PM

Posting Permissions

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