[comp.mail.uucp] need EGs of arpa+smail config files

jkimball@srcsip.UUCP (John Kimball) (03/09/88)

We just recently got an Arpanet connection; the connection is to two Sun
servers (SunOS 3.5) and a MicroVAX (MORE/BSD4.3).  We have the Berkeley name 
daemon up and running (more or less) on the MicroVAX, and the sun servers
running ypserv as "ypserv -i" to pick up the host info from the name daemon.

In the past, the MicroVAX has been our mail gateway to UUCP-land and thus
the rest of creation.  It is running sendmail and smail;  smail only knows
about the other sites in Minnesota, we bounce other mail upstairs to a site
which has the full set of maps.

I'd like to have the MicroVAX talk both to the Arpanet and to our current
uucp connections.  I have our UUCP-oriented sendmail.cf, derived from the
one the UUCP Project ships with smail;  I have an Arpanet-oriented
sendmail.cf, derived from arpa.cf in the Berkely sendmail distribution.  The
Arpanet-oriented cf will successfully send mail to non-local sites, out on
the Arpanet;  I haven't yet convinced it to send to the other hosts on the
ethernet, but that's not my current concern.

What I want to do is come up with one cf file that talks to both networks.
I'd like the algorithm to be:
    1) If an internet address can be found for the destination host, use
       the Arpa tcp route;
    2) Otherwise, hand it to smail.
I don't see an obvious way to do this;  but then, I'm not very clear on what
"$[   $]" does exactly, and where you can use it.

There must be other people out there with both an arpa connection AND smail.
Could you send me some sample config files and other pointers?

Thanks in advance . . .

-- 
John Kimball  Honeywell Systems and Research Center			   
voice:  (612) 782-7343   paper:  3660 Technology Drive, Minneapolis, MN 55418
uucp:  jkimball@srcsip   bang-style: {ihnp4,philabs,umn-cs,ems}!srcsip!jkimball
internet: srcsip!jkimball@umn-cs.cs.umn.edu
arpa Real Soon Now: jkimball@SRC.Honeywell.COM