[comp.mail.misc] sendmail sources needed for xenix

mechsfm@ness386.swbt.COM (Shawn McDonald 512+377-6226) (08/26/88)

I am currently running Xenix 2.2.3 on a 386 with an Excelan 205e ethernet
card.  The problem I am having is setting up mail and uucp so that the
machine is able to determine whether to route a request through the
normal lines ( i.e. telephone lines ), or to use the ethernet connections
to any local hosts.

It is my understanding that there is a router that does this.  I have
been told that I need something like sendmail.  Does anybody out there
know where I can get sendmail, or any other such intelligent router, so 
that the machine is smart enough to know how to route mail and uucp requests?

Is there anybody else out there that is running Xenix with an ether 
card and had the same problem?  If so please let me know how you
solved this headache.

Thanks for any information that you can send me.

-- 
It's not my fault, It's not my fault, It's not my fault...
				God, I love this job.
Shawn McDonald			
SWBT 			{!tness7,!petro,..}mechsfm@ness386.swbt.COM	

van@hawkeye.uucp (Van Gale) (08/26/88)

In article <638@ness386.swbt.COM> mechsfm@ness386.swbt.COM (Shawn McDonald  512+377-6226) writes:
>I am currently running Xenix 2.2.3 on a 386 with an Excelan 205e ethernet
>card.  The problem I am having is setting up mail and uucp so that the
>machine is able to determine whether to route a request through the
>normal lines ( i.e. telephone lines ), or to use the ethernet connections
>to any local hosts.

To a certain extent sendmail will do what you need.  It will, of course,
route mail to the proper delivery agent.  What it won't do, at least under
Xenix with the Excelan software, is deliver via SMTP.  There are some
interesting problems with the Excelan socket library that would require
MUCHO hack and slash to the sendmail SMTP code to get it working. (I
think somebody in Cal. has sendmail SMTP working with Excelan under
Sys V/386 so the Excelan library for that system must be more complete).

The easiest thing to do is gross, and doesn't work completely.  This is to
have sendmail deliver SMTP mail to the Excelan SMTP delivery agent, and hack
(i.e. binary patch) the Excelan SMTP daemon to feed incoming mail to sendmail.
The reason this doesn't work fully is that Excelan, in their infinite
wisdom, decided since Xenix /usr/bin/mail doesn't support RFC822 addresses
in the From: field they wouldn't either.  So, if Excelan SMTP gets mail
with a "From: Van Gale <van@ocsmd.uu.net>" it comes out the other end as
"From: Van, Gale, <van" !!!  Nice eh?  So, what we had to do was write a
filter that stripped () comments and full names from From: fields before
passing the message on to Excelan SMTP.  This is really gross, but it beats
rewriting all the sendmail delivery code.

It is a great idea to run smail 2.5 along with sendmail in this situation.

You will need a configuration file (sendmail.cf) for this setup... and it
just happens I have such a beast.  If you want it e-mailed let me know.

Van
uucp     : ..{ames|decuac}!netsys!ocsmd!van  ..uunet!ocsmd!van
bitnet   : van%ocsmd@uunet.uu.net              snail : Online Computer Systems
internet : van@ocsmd.uu.net                            20251 Century Blvd.
vox      : (301) 353-8521                              Germantown, MD 20874