fmayhar@killer.Dallas.TX.US (Frank Mayhar) (03/29/89)
I have a couple of questions that I hope someone out there can help me with.
I'm setting up a Usenet node on a Sun 3/160 system, running SunOS 3.3. I
want to use smail, so that we can use user@domain-type addresses in all our
mail. So how do I reconcile the Sun-supplied sendmail.cf with the one that
comes with smail? Basically, how do I set things up so that sendmail hands
stuff off to smail? And vice versa? I'm using smail 2.5.
My second question is more complicated, and it, too, is sendmail-related.
We are setting up our site to have the domain "ladc.com". The Sun 3 system
is our sole connection to the outside world, and we want it to remain that
way. We have a number of machines in-house, and we want to reroute mail
to the users on them, and, at the same time, hide the other machines from
the outside world (configurations change a lot). So we want to have SMTP
and/or UUCP connections to the machines in-house, with a single (at the
moment) UUCP connection to uunet. To do this rerouting, I want to have
sendmail rewrite the From: addresses (on outgoing mail), and the To: addresses
(on incoming mail), such that the mail reaches its intended recipient. For
example, if I get mail to "Frank-Mayhar@ladc.com", I want it rewritten as
"Frank-Mayhar@local-machine", and forwarded. Similarly, if I get mail to
"...!uunet!ladcgw!Frank-Mayhar" (ladcgw is the name of the Sun 3), I want it
rewritten the same way ("Frank-Mayhar@local-machine"). There will be entries
in /usr/lib/aliases that will indicate that "Frank-Mayhar@local-machine"
is really "frank@mysun" (since most of our users get their mail on one
machine).
Is this possible to do in sendmail? How do I go about it? (I've read Sun's
sendmail.cf documentation, and I'm now more confused than when I started,
sigh.) Any help, or pointers to a source of information, would be *greatly*
appreciated, by me and others. Please reply to my Internet address, if
possible, since it goes straight to my work mailbox. Or you can try
"known-world!uunet!ladcgw!frank", but it will probably bounce (but maybe not,
if I can get things going fast enough).
What would be *really* nice, would be the rulesets to do the address rewriting,
and an English (as opposed to what's in the Sun manual) explanation. :-)
AdTHANKSvance!
--
Frank Mayhar UUCP: fmayhar@killer.dallas.tx.us
ARPA: Frank-Mayhar%ladc@bco-multics.hbi.honeywell.com
USmail: 2116 Nelson Ave. Apt A, Redondo Beach, CA 90278
Phone: (213) 371-3979 (home) (213) 216-6241 (work)