Results 1 to 6 of 6

Thread: apache redirect to zimbra mail server

  1. #1
    th350urc3 is offline Junior Member
    Join Date
    Jan 2008
    Posts
    8
    Rep Power
    7

    Default apache redirect to zimbra mail server

    I would like to setup my apache server (separate server) to forward requests to securemail.mydomain.com to my zimbra mail server (also a separate box)

    I don't see documentation on how to do this. I saw the docs on apache and zimbra on the same server but that is not what I need. Does anyone know how to do this or can direct me to a good read.

    I have read about ip based virtual hosts but it seems that those different ips need to be configured on the local apache server.

    WEBSERVER --> FORWARDS TO --> ZIMBRA MAIL SERVER, both are different servers and not on the same box.

    This maybe out of the scope of these forums. But maybe someone has already tried to do this.

    By the way ZIMBRA ROCKS!!! I installed it with few issues and am using it on CENTOS 5

  2. #2
    MeneM is offline Active Member
    Join Date
    Sep 2005
    Location
    Amsterdam
    Posts
    44
    Rep Power
    9

    Default

    Hi there,

    I only use normal http for now, but this is how I did it:

    HTML Code:
    <VirtualHost *>
    ServerName mail.domain.nl
    
    ProxyRequests Off
    
    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>
    
    ProxyPass / http://mail.domain.nl/
    ProxyPassReverse / http://mail.domain.nl/
    </VirtualHost>
    For me personally, the hosted DNS point mail.domain.nl to the IP address the apache server runs behind.

    Internally, the DNS server point mail.domain.nl to the internal ip address (10.0.0.2) of the zimbra server.

    I've kept the names the same for the outside world as the inside world. This to make sure zimbra does not point to links that do not exist outside the lan.

    Thanks,
    Mark
    Last edited by MeneM; 01-18-2008 at 04:04 AM.

  3. #3
    th350urc3 is offline Junior Member
    Join Date
    Jan 2008
    Posts
    8
    Rep Power
    7

    Default

    so on my firewall(which is also my DNS server) make that tell my internal lan clients which include, apache 1 and zimbra that securemail.mydomain.com is at 192.168.1.217, which is what it is internally, correct?

    Ok

    I will edit your virtualhost configuration to match mine this evening. Thank you for your help.

  4. #4
    MeneM is offline Active Member
    Join Date
    Sep 2005
    Location
    Amsterdam
    Posts
    44
    Rep Power
    9

    Default

    Hi again,

    In the event it does help, could you mark this thread as solved?

    Thanks,
    Mark

  5. #5
    th350urc3 is offline Junior Member
    Join Date
    Jan 2008
    Posts
    8
    Rep Power
    7

    Default

    yes. Definitely!

  6. #6
    th350urc3 is offline Junior Member
    Join Date
    Jan 2008
    Posts
    8
    Rep Power
    7

    Default

    I tried your code

    ServerName mail.domain.nl

    ProxyRequests Off


    Order deny,allow
    Allow from all


    ProxyPass / http://mail.domain.nl/
    ProxyPassReverse / http://mail.domain.nl/


    and it partially works; however it forwards mydomain.com and mymailserver.mydomain.com both to the zimbra sever. I only want mymailserver.mydomain.com to work. mydomain.com must have its own webpage different from mailserver.mydomain.com

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  2. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  3. Issues...
    By timothyalangorman in forum Administrators
    Replies: 3
    Last Post: 11-19-2007, 10:43 AM
  4. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  5. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 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
  •