Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: dik@uva.UUCP (Casper H.S. Dik) Newsgroups: comp.sys.sun Subject: Re: SunOS 4.0 Performance Tips - sendmail Message-ID: <598@uva.UUCP> Date: 28 Jan 89 07:15:31 GMT References: <1655@kodak.UUCP> Sender: usenet@rice.edu Organization: Faculteit Wiskunde & Informatica, Universiteit van Amsterdam Lines: 27 Approved: Sun-Spots@rice.edu Original-Date: 21 Jan 89 16:55:19 GMT X-Sun-Spots-Digest: Volume 7, Issue 126, message 7 of 12 X-Issue-Reference: v7n115 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