[followups to comp.mail.sendmail, where this belongs.]
On Wed, 4 Nov 1998 23:19:55 +0000,
Quote:> take it that I HAVE to have users created on the Linux box then ?
Well, you want root and your own account there.
Quote:> Is there no way to forward EVERYTHING to the Netware box ?
Sure there is.
Quote:> (I've been let off today as I was dragged (kicking and screaming)
> to the Windows NT conference in London).
Should have spent the day reading the Bat Book.
There are several methods to do what you want.
One, for example, is:
LUSER_RELAY The site that will handle lusers -- that is, apparently
local names that aren't local accounts or aliases.
You can also use mailertables to take all mail destined for xyz.com
and treat it special.
From the docs:
To use FEATURE(mailertable), you will have to create an external
database containing the routing information for various domains.
For example, a mailertable file in text format might be:
.my.domain xnet:%1.my.domain
uuhost1.my.domain suucp:uuhost1
.bitnet smtp:relay.bit.net
This should normally be stored in /etc/mailertable. The actual
database version of the mailertable is built using:
makemap hash /etc/mailertable.db < /etc/mailertable
The semantics are simple. Any LHS entry that does not begin with
a dot matches the full host name indicated. LHS entries beginning
with a dot match anything ending with that domain name -- that is,
they can be thought of as having a leading "*" wildcard. Matching
is done in order of most-to-least qualified -- for example, even
though ".my.domain" is listed first in the above example, an entry
of "uuhost1.my.domain" will match the second entry since it is
more explicit.
The RHS should always be a "mailer:host" pair. The mailer is the
configuration name of a mailer (that is, an `M' line in the
sendmail.cf file). The "host" will be the hostname passed to
that mailer. In domain-based matches (that is, those with leading
dots) the "%1" may be used to interpolate the wildcarded part of
the host name. For example, the first line above sends everything
addressed to "anything.my.domain" to that same host name, but using
the (presumably experimental) xnet mailer.
--
Brian Moore | "The Zen nature of a spammer resembles
Sysadmin, C/Perl Hacker | a*roach, except that the*roach
Usenet Vandal | is higher up on the evolutionary chain."
Netscum, Bane of Elves. Peter Olson, Delphi Postmaster