Koozali.org: home of the SME Server

Webmail with two servers

Des Dougan

Webmail with two servers
« on: March 25, 2001, 07:40:28 AM »
I have two e-smith servers, a firewall/gateway and a separate box acting as file, mail and print server. I have made the change in the gateway "Hostnames and addresses" menu to redirect mail and www to the file server. I'm not able to do a full test yet, as the servers are running off my home network before being located to their final destination, but mail from a Windows client (IMAP) is being delivered successfully within the LAN.

I've tried to access mail via Webmail and have been successful within my test LAN, which is connected to my own home network via the gateway server. The gateway server has a 192.168.0.100 (external) and a 192.168.1.1 (internal) address. As the test environment is behind my own network, the DNS details are not yet being published, but pointing to the IP address (https://192.168.0.100/webmail) from my 192.168.0.5 station does not bring up the Webmail login page.

Obviously, the traffic is not being correctly directed, but I'm not sure why, or how to fix it and would appreciate any help.

Des Dougan

Darrell May

Re: Webmail with two servers
« Reply #1 on: March 26, 2001, 05:53:27 AM »
Des Dougan wrote:
>
> I have two e-smith servers, a firewall/gateway and a separate
> box acting as file, mail and print server. I have made the
> change in the gateway "Hostnames and addresses" menu to
> redirect mail and www to the file server. I'm not able to do
> a full test yet, as the servers are running off my home
> network before being located to their final destination, but
> mail from a Windows client (IMAP) is being delivered
> successfully within the LAN.


Correct so far for the LAN side but unfortunately you will not 'easily' get anything to work from the Internet.  The purpose of the gateway is to block access to servers behind the gateway.  You will need to implement port forwarding and Apache ProxyPass and a few other custom config changes.

IMHO.... even though you 'could' do the above, there are much easier solutions available.

Darrell

Des Dougan

Re: Webmail with two servers
« Reply #2 on: March 26, 2001, 06:20:27 AM »
Darrell,

Thanks for your response.

Darrell May wrote:
> The purpose of the gateway is to block access to servers behind
> the gateway.  You will need to implement port forwarding and
> Apache ProxyPass and a few other custom config changes.

So is the "Hostnames and addresses" menu effective only within the LAN? I remember seeing some traffic on the lists about ProxyPass, so I will look into it and forwarding.

>
> IMHO.... even though you 'could' do the above, there are much
> easier solutions available.

Such as?

Thanks,

Des