Path: utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!jhunix!andy From: andy@jhunix.HCF.JHU.EDU (Andy S Poling) Newsgroups: comp.mail.sendmail Subject: Re: sendmail from inetd? Summary: not hard Message-ID: <7295@jhunix.HCF.JHU.EDU> Date: 3 Jan 91 23:31:56 GMT References: <8653@uwm.edu> Followup-To: comp.mail.sendmail Organization: The Johns Hopkins University - HCF Lines: 26 In article <8653@uwm.edu> jgreco@archimedes.math.uwm.edu (Joe Greco) writes: >I was wondering if anybody has tried the following: > >Can sendmail be run from inetd? sendmail has the option to run SMTP on >stdin/out, and if possible, I'd like to run it that way instead of "-bd". [...] >Has anybody done anything like this? Do any of the sendmail gurus see any >reason why this would not work, or any other pitfalls / problems? Sure, I run it from tcplisten (which is very similiar to inetd, but less flexible and doesn't do UDP). I wrote smtpd.c (a name which inevitably has already been used but who cares...), which is about 80 lines long, to exec sendmail with command line arguments telling it to whom it is speaking. I had to do this to combat our machine's broken socket/streams implimentation. It should take less than 5 minutes to convert it for use with inetd. It isn't exactly rocket science, but I'll provide a copy to anybody who's interested. Just drop me a line... -Andy -- Andy Poling Internet: andy@gollum.hcf.jhu.edu UNIX Systems Programmer Bitnet: ANDY@JHUNIX Homewood Academic Computing Voice: (301)338-8096 Johns Hopkins University UUCP: uunet!mimsy!aplcen!jhunix!andy