home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / mail / sendmail / 2071 < prev    next >
Encoding:
Text File  |  1992-08-13  |  1.6 KB  |  39 lines

  1. Newsgroups: comp.mail.sendmail
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxc.cso.uiuc.edu!paul
  3. From: paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO)
  4. Subject: Re: Is it possible to start sendmail from inetd?
  5. References: <1992Aug13.120240.20992@spider.research.ptt.nl>
  6. Message-ID: <BsxD6K.GME@news.cso.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Reply-To: Paul-Pomes@uiuc.edu
  9. Organization: University of Illinois at Urbana
  10. Date: Thu, 13 Aug 1992 13:51:54 GMT
  11. Lines: 26
  12.  
  13. zee@sun006.research.ptt.nl (Siebren van der Zee) writes:
  14.  
  15. >Does anyone run sendmail from inetd? I had hoped a line in /etc/inetd.conf like
  16. >    "smtp stream tcp wait root /usr/lib/sendmail sendmail"
  17. >would do the trick, but sendmail terminated with exit status 73,
  18. >and the sending sendmail complaints: "sendmail[2213]: AA02211:
  19. >SYSERR: net hang reading from <host>: Connection timed out during
  20. >greeting wait with <host>". Is there a good reason why vendors don't
  21. >start sendmail this way in the first place? Is it possible at all?
  22. >(I'm running SunOS 4.1.1 and 4.1.2 with sendmail LD_ patched sendmail)
  23.  
  24. You'll need to add the -bs flag so that sendmail will use stdin/stdout.
  25. Running from inetd requires a separate cron entry to run the queue.  Here's
  26. what I've used in my tests:
  27.  
  28. /etc/inetd.conf
  29. smtp    stream    tcp    nowait    daemon    /usr/lib/sendmail    sendmail -bs
  30.  
  31. /etc/crontab
  32. 35 * * * *    root /usr/lib/sendmail -q
  33.  
  34. /pbp
  35. -- 
  36. "A well-schooled electorate, being necessary to the security of a free State,
  37. the right of the People to keep and read Books shall not be infringed."
  38.     -- J. Neil Schulman
  39.