[comp.sys.sun] SunOS 4.0 Performance Tips - sendmail

dik@uva.UUCP (Casper H.S. Dik) (01/28/89)

kodak!dennett@cs.rochester.edu (Charlie Dennett) writes:
>I have a 3/260 and discless 3/60 running 4.0.1.  I have a copy of the
>document detailing several things that can be done to implement some
>performance improvements and have some questions about the suggestions for
>sendmail....
>
>I tried several variations of the line in inetd.conf but nothing worked.
>Can it be done and if so, what is the correct format for the entry in
>inetd.conf?  Must sendmail.cf be changed?

Although I haven't tried this I think the following line in inetd.conf
would do the trick: (from 4.3BSD, SunOS 4.0.1 might differ)

smtp tcp stream nowait nobody /usr/lib/sendmail sendmail -bs

[You say you have tried some, but don't tell which] Essentially this
means: 'if somebody connects on port smtp/tcp run 'sendmail -bs'.  The
argument -bs makes sendmail talk smtp on the stream-connection.  (Don't
forget to kill -HUP inetd)

One drawback: since you're not running a sendmail daemon, mail that cannot
be delivered directly, will be queued locally. This can be fixed by adding
a line which runs /usr/lib/sendmail -qv every day or hour.

Casper H.S. Dik
University of Amsterdam     |		      dik@uva.uucp
The Netherlands             |                 ...!uunet!mcvax!uva!dik