Koozali.org: home of the SME Server

e-mail configuration

Reggie Williams

e-mail configuration
« on: December 02, 1999, 07:26:37 AM »
I would like to configure the e-smith server to receive mail from an ISP and forward it to
an exchange server on an internal non-routable network. Can e-smith do this? If so, can
you please tell me how.

Charlie Brady

RE: e-mail configuration
« Reply #1 on: December 02, 1999, 08:30:51 AM »
Reggie Williams wrote:

> I would like to configure the e-smith server to receive mail
> from an ISP and forward it to an exchange server

You might end up regetting that... :-)

> on an internal non-routable network. Can e-smith do this?

Yes.

> If so, can you please tell me how.

You'll need to read http://www.e-smith.org/custom/ to understand
how to change e-smith config template files and turn them into
working config files. Then you'll need to change the templates for rcpthosts, locals and smtproutes in /var/qmail/control.

Assuming that your exchange server handles mail for your.domain, and its IP address is 192.168.100.100, then:

rcpthosts must contain your.domain
locals must not contain your.domain
smtproutes must contain

your.domain:[192.168.100.100]

Charlie

Reggie Williams

RE: e-mail configuration
« Reply #2 on: December 03, 1999, 06:37:17 PM »
Thanks for the info. I really don't have a lot of time to get this to work. Since you say I might regret this
approach, would it be simpler to allow e-smith to receive the mail from the internet through its external
interface and then allow the exchange server to get the mail from e-smith? If e-smith can do this easily without
editing perl scripts, this would be fine. In any case, what would you suggest?

Thanks.

Charlie Brady

RE: e-mail configuration
« Reply #3 on: December 05, 1999, 11:12:07 AM »
Reggie Williams wrote:

> Thanks for the info. I really don't have a lot of time to get
> this to work. Since you say I might regret this approach, would
> it be simpler to allow e-smith to receive the mail from the
> internet through its external interface and then allow the
> exchange server to get the mail from e-smith?

As far as I know there is no way for the exchange server to get mail
from e-smith.

> If e-smith can do
> this easily without editing perl scripts, this would be fine.

I think the way I proposed doesn't require any perl changes.

> In any case, what would you suggest?

When I said you may regret it, I meant you may regret using exchange.
The alternative is to use the e-smith server for SMTP and POP, as it
was designed to be used. If you would prefer to use IMAP on the e-smith server, contact me directly and I will point you to resources.

Charlie