[plug] sendmail routing

Jeremy Malcolm Jeremy at Malcolm.wattle.id.au
Fri Sep 14 12:40:18 WST 2001


> one of our clients is moving their mail server to a remote site and i
> fear that the users will (wihc rely heavly on the email) find the
> speed a problem.  (They are just using a 56k link.)  we are putting in
> a linux box to dial up to the mail server and i was thinking, is it
> possible to put sendmail on it and route the outgoing mail through it?
> and is there a program to route there mailboxes to the local server so
> pulling down there mail will be quicker aswell?  I thought of
> fetchmail, but im not sure.

Yes no problem with doing either of these things.  For outgoing, if they
are dialling up directly to the real mailserver just set sendmail up on
the Linux box with the hostname of the real mailserver used as its
smarthost:

  define(`SMART_HOST',`hostname_goes_here')dnl

For incoming, what kind of machine is the remote/real mailserver?  It's
not one of those Novell Groupwise things that you use is it? :-P  If it
is, then I can't tell you how you should configure it but if it is
sendmail then you configure it with /etc/mail/mailertable as follows:

  your.domain.here smtp:hostname_goes_here

Set the real server as the primary MX host for the domain (don't list
the local mailserver as an MX host at all), but create the mailboxes on
the local mailserver only; the remote mailserver doesn't need them.

HTH

--
JEREMY MALCOLM <Jeremy at Malcolm.wattle.id.au> http://malcolm.wattle.id.au
Providing online networks of Australian lawyers (http://www.ilaw.com.au)
and Linux experts (http://www.linuxconsultants.com.au) for instant help!
Disclaimer: http://www.terminus.net.au/disclaimer.html. GPG key: finger.



More information about the plug mailing list