home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.sendmail
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxc.cso.uiuc.edu!paul
- From: paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO)
- Subject: Re: Is it possible to start sendmail from inetd?
- References: <1992Aug13.120240.20992@spider.research.ptt.nl>
- Message-ID: <BsxD6K.GME@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Reply-To: Paul-Pomes@uiuc.edu
- Organization: University of Illinois at Urbana
- Date: Thu, 13 Aug 1992 13:51:54 GMT
- Lines: 26
-
- 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)
-
- You'll need to add the -bs flag so that sendmail will use stdin/stdout.
- Running from inetd requires a separate cron entry to run the queue. Here's
- what I've used in my tests:
-
- /etc/inetd.conf
- smtp stream tcp nowait daemon /usr/lib/sendmail sendmail -bs
-
- /etc/crontab
- 35 * * * * root /usr/lib/sendmail -q
-
- /pbp
- --
- "A well-schooled electorate, being necessary to the security of a free State,
- the right of the People to keep and read Books shall not be infringed."
- -- J. Neil Schulman
-