[comp.unix.xenix] Xenix Mail

chip@tct.uucp (Chip Salzenberg) (06/27/90)

According to nanook@rwing.UUCP (Robert Dinse):
>I have a Tandy 6000 running Tandy's bizzare version of Xenix 3.02.00.
>I would appreciate any help in understanding how mail works on this system,
>specifically, how the various componenets, mail.local, execmail, main.mn,
>daemon.mn, and /bin/mail itself all devide the labor of delivering mail.

Okay, here's the rundown.  Note that this description is based on SCO
Xenix 2.2 and 2.3; your milage may vary.

/usr/bin/mail: A user agent, aka user interface, with delusions of
	being a transfer agent.  It should just show you mail and let
	execmail handle delivery.  However, unless you say "set
	execmail" in the file "/usr/lib/mail/mailrc", it likes to
	deliver local mail on its own.  Unfortunately, it thinks that
	everything without a bang or a colon is local.

/usr/bin/rmail: Itty bitty program that runs execmail.  Invoked only
	for incoming mail from your UUCP neighbors; not something
	you'd run yourself.  It may be smart enough to run uux
	directly; I don't know.  Smail 2.5 and 3.1 replace rmail with
	a link to smail.

/usr/lib/mail/execmail: The brains [sic] of the outfit.  The central
	part of the Xenix mail transport system.  Execmail does
	aliasing, and then runs one of mail.local, mail.cln or uux to
	do the dirty work.  Parameters include -m (me too on aliases),
	-n (no aliasing), -r (remote?), -h # (max UUCP hop count) and
	-f user (who the message is supposed to be from).

/usr/lib/mail/mail.local: Delivery of local mail.  I *think* it also
	understands UUCP addresses, but don't quote me on that.  My
	Deliver program is a plug-in replacement for mail.local.
	(I suppose that this rates as a plug-in plug.  :-))
	Parameters include -r user (who the message is supposed to be
	from -- yes, that's "-r").
 
/usr/lib/mail/mail.cln: Deliver of Micnet or other network mail, i.e.
	mail with a CoLoN in the address.  No details here, except
	that the parameters "-h 0 'targethost' 'sender' 'recipient'"
	seem to work for me on Micnet.  (Gads, I hate Micnet.)

>     I have smail and am trying to figure out how to interface it properly
>with this version of Xenix.

I'll E-Mail my Xenix patches; that should fix you right up.

-- 
Chip, the new t.b answer man      <chip@tct.uucp>, <uunet!ateng!tct!chip>

peter@ficc.ferranti.com (Peter da Silva) (06/27/90)

For Intel Xenix with OpenNET, things are a little bit more twisted,
especially if the incompatibilities between Intel Xenix OpenNET mail
(based on micnet, I guess) and Intel UNIX OpenNET mail (based on MMDF)
are forcing you to switch to smail for *all* your routing.

If anyone else out there is using OpenNET, I'll post a longer article
once I have the docco done.
-- 
Peter da Silva.   `-_-'
+1 713 274 5180.
<peter@ficc.ferranti.com>