Koozali.org: home of the SME Server

Force Primary to intrAnet - not WWW?

David

Force Primary to intrAnet - not WWW?
« on: March 09, 2000, 08:22:11 AM »
I would like to only run an *intrAnet* from the e-smith server/gateway (4.ob5)/Primary for internal use.

BAckground: My web site is hosted by an ISP, not on the e-smith server.
All of the mail for all addressees is held by a (different) ISP, downloaded to my (currently Win98) e-mail server which then re-distributes it internally. Connection is dial-up.
The company runs an intranet.

Problem: If give e-smith the correct e-mail (and web) domain, then mail seems to arrive OK, but connecting to the intErnet to check on the status of the comapny's iste only results in running the site held in e-smith Primary.

Solution: is the only way around this to use a different internal domain name? Assume that the mail will still be delivered OK, even if the domain name does not match that on the incomming e-mails?

Thanks

David

Charlie Brady

RE: Force Primary to intrAnet - not WWW?
« Reply #1 on: March 11, 2000, 09:52:42 AM »
David wrote:

> BAckground: My web site is hosted by an ISP, not on the e-smith
> server. All of the mail for all addressees is held by a
> (different) ISP, downloaded to my (currently Win98) e-mail
> server which then re-distributes it internally. Connection is
> dial-up. The company runs an intranet.
>
> Problem: If give e-smith the correct e-mail (and web) domain,
> then mail seems to arrive OK, but connecting to the intErnet to
> check on the status of the comapny's iste only results in
> running the site held in e-smith Primary.
>
> Solution: is the only way around this to use a different
> internal domain name? Assume that the mail will still be
> delivered OK, even if the domain name does not match that on
> the incomming e-mails?

Sorry for the delay in answering.

No, your assumption about mail being delivered even if the domain name does not match is not valid - you have to have the domain name set to your real domain name.

So you do have a real problem with your external web site, and I'm sure that you are not unique, so this is something E-smith will have to come up with a solution for. In the meantime, if you want to try to find a workaround for yourself, read the documentation at http://www.e-smith.org/custom on making changes to your system.

A couple of possible solutions are to include the external web site in the private DNS setup for your domain by the e-smith server, or to set up your e-smith web server to do a redirect or rewrite of www.domain.name addresses to the IP of your external site - and that mightn't work.

One thing you can try without editing any config files is to change your e-smith system domain name from domain.name to office.domain.name - then setup domain.name as a virtual domain. But that probably won't do either. You want a virtual domain for email (although at the moment the e-smith server only provides email domain aliases, not real vertual domains) but you don't want the web domain to be processed. The way to do that is to add domain.name into the qmail control files "locals" and "rcpthosts".

I hope that helps some. Let E-smith know how you get on.

Chalrie