home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.sendmail
- Path: sparky!uunet!mcsun!sun4nl!fwi.uva.nl!casper
- From: casper@fwi.uva.nl (Casper H.S. Dik)
- Subject: Re: Is it possible to start sendmail from inetd?
- Message-ID: <1992Aug13.140631.22560@fwi.uva.nl>
- Sender: news@fwi.uva.nl
- Nntp-Posting-Host: adam.fwi.uva.nl
- Organization: FWI, University of Amsterdam
- References: <1992Aug13.120240.20992@spider.research.ptt.nl>
- Date: Thu, 13 Aug 1992 14:06:31 GMT
- Lines: 39
-
- zee@sun006.research.ptt.nl (Siebren van der Zee) writes:
-
- >Does anyone run sendmail from inetd? I had hoped a line in /etc/inetd.conf like
- > "smtp stream tcp wait root /usr/lib/sendmail sendmail"
- >would do the trick, but sendmail terminated with exit status 73,
- >and the sending sendmail complaints: "sendmail[2213]: AA02211:
- >SYSERR: net hang reading from <host>: Connection timed out during
- >greeting wait with <host>". Is there a good reason why vendors don't
- >start sendmail this way in the first place? Is it possible at all?
- >(I'm running SunOS 4.1.1 and 4.1.2 with sendmail LD_ patched sendmail)
-
- > Siebren van der Zee.
- There are several errors in your inetd.conf line:
-
- - sendmail should be started once for each incoming connection (nowait)
- - sendmail must be started in smtp mode (sendmail -bs)
-
- The right line is:
- smtp stream tcp nowait root /usr/lib/sendmail sendmail -bs
-
-
- There are several reasons to run sendmail in daemon mode:
-
- - need extra cron job to run queue
- - an idle process doesn't cost much
- - it is more expensive to start sendmail from scratch each n minutes
- to run the queue than it is to wake up a sleeping daemon
- - it is more expensive to start a new sendmail process for
- an incoming job than it is to fork() the current sendmail
- process.
-
-
- All in all, you would be saving 200K swap space but it would cost
- you more disk I/O and CPU time.
-
- Casper
- --
- | Casper H.S. Dik
- | casper@fwi.uva.nl
-