🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #92

Re: Running Sendmail on System V Rel 4 ??

#92
From: NUMATA Toshinori
Date: Fri, 07 Aug 1992 12:55
58 lines
3276 bytes
In article <BsKGyo.9G3@world.std.com>,
	sandyb@world.std.com (Sandy Bendremer) says:
> We are running Consensys SVR4, and are changing over from the default AT&T
> mail system to sendmail.  Unfortunately, the documentation is not very
> clear on the general configuration.  We seem to be working OK, but we're
> not sure why??  Some Questions:

> 1.  Our systems still starts up with smtpd running in the background.  In
> this state, 'sendmail -bd' will not create a background process (it just
> exits).  If smtpd is killed, sendmail will run in the background!  What is
> the proper configuration??

Please look into /etc/rc[0-3].d directory.  There will be files named
S??smtpd and K??smtpd (?? is replaced with some two-digit numbers).  The
S??smtpd file is a shell script that starts smtpd and K??smtpd kills
smtpd.  These scripts are executed by /etc/rc? process when the system
starts up and shuts down.  You must change these scripts to start/stop
sendmail.  If you have S??smtpd and K??smtpd files that handle sendmail
in your /usr/ucblib directory, just copy them into appropriate
/etc/rc?.d directories.  Even if you don't have such replacement files,
the modification is trivial.

> 2.  Do we only need to worry about sendmail's configuration, or do some of
> the other AT&T configuration files still have an effect??

If you are using default /bin/mail and /bin/rmail, you must change
/etc/mail/mailsurr with the one supplied in /usr/ucblib directory.  If
you copyed /usr/ucblib/binmail to /bin/mail and /usr/ucblib/rmail to
/bin/rmail, you don't have to worry about AT&T mail system.

> 3.  Although mail (now /usr/ucb/binmail) works ok, it only generates
> 'Apparently-To:' addresses.  Why?  Should we be concerned about this?

The Apparently-To: header field is added by sendmail.  Your Mail User
Agent, such as mailx, has responsibility to set To: field correctly.
Don't use /bin/mail directly, because it does not add To: field.

> 4.  AT&T's mailx only works on local addresses?  Should we just forget 
> about this now that we're using sendmail?  Elm our primary agent is OK.

mailx uses /usr/bin/rmail for mail delivery.  If you replaced
/usr/bin/rmail with /usr/ucblib/binrmail, it will not cause problems.
If it does not work, add a line

	set sendmail=/usr/ucblib/sendmail

in the file /etc/mail/mailx.rc.  (I never used mailx with
sendmail-on-SVR4 configuration, so I'm not sure.  Please try it out and
let me know if it does not solve the problem.)

> 5.  Any general hints/comments on using sendmail on SVR4 are appreciated.

I recommend to use Smail 3.1.  It works fine on SVR4.
-- 
NUMATA, Toshinori		numa@sysrap.cs.fujitsu.co.jp  or
				postmaster@sysrap.cs.fujitsu.co.jp

Architecture Dept., Open Systems Group, FUJITSU LIMITED
Technical Details
Message-ID: <1389@sysrap.sysrap.cs.fujitsu.co.jp>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!sh.wide!fgw!fdm!csgw!spad!numa
References: <BsKGyo.9G3@world.std.com> <BsKGyo.9G3@world.std.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!sh.wide!fgw!fdm!csgw!spad!numa
From: numa@sysrap.cs.fujitsu.co.jp (NUMATA Toshinori)
Newsgroups: comp.mail.sendmail,comp.unix.sysv386
Subject: Re: Running Sendmail on System V Rel 4 ??
Message-ID: <1389@sysrap.sysrap.cs.fujitsu.co.jp>
Date: 7 Aug 92 12:55:03 GMT
References: <BsKGyo.9G3@world.std.com> <BsKGyo.9G3@world.std.com>
Followup-To: comp.mail.sendmail
Organization: Fujitsu Limited, Kawasaki, Japan
Lines: 58