[comp.sys.apollo] sendmail 5.65...

philip@cel.cummins.com (Philip D. Pokorny) (06/14/91)

I am using the "stock" sendmail that comes with 10.1 and 10.3 but
when I was bringing it up I had no end of problems with the
interaction of SYSTYPE and sendmail files in /usr/lib.  (There
are TWO copies of each file, on in /sys5.3/usr/lib and another
in /bsd4.3/usr/lib.)  The sendmail config files I was trying to
use were using argument strings designed for a BSD /bin/mail
program but since we usually run with SysV as the default
SYSTYPE sendmail was trying to run /sys5.3/bin/mail...  (Someone
at Apollo told me they had been told about the SysV/BSD /bin/mail
problem and had advice on how to change the mailer
specification...  I don't know if that information got put in the
sendmail.cf files shipped with the OS)

My solution to this problem was to write a little program
(named sendmail) that sets SYSTYPE to 'bsd4.3' and the exec()'s
sendmail.real (with argv[0] unchanged!)  Then I deleted all the
sendmail related files from BOTH /sys5.3 and /bsd4.3.  I left
links behind for those path's I couldn't specify in the
sendmail.cf file and linked everything to /usr/lib.sendmail
(similar to uucp on Apollo which uses /usr/lib/uucp ->
/usr/lib.uucp)  This way I know sendmail is always running in the
BSD "world" no matter who spawned it (Mail, mailx, rmail) or why.
I also only have one copy of the files on the system, so when I
try and edit /usr/lib/sendmail.cf I get the right file.

There could perhaps be code in IDA sendmail that would do the
SYSTYPE setting itself.  The movement of files to
/usr/lib.sendmail was more of a system administration concern
than a requirement.

Sincerely,
Philip D. Pokorny
philip@cel.cummins.com
:)