Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!brillig!israel From: israel@brillig (Bruce Israel) Newsgroups: comp.unix.questions Subject: Re: How to make sendmail re-read the configuration file Message-ID: <5021@mimsy.UUCP> Date: Sat, 10-Jan-87 13:08:34 EST Article-I.D.: mimsy.5021 Posted: Sat Jan 10 13:08:34 1987 Date-Received: Sat, 10-Jan-87 23:43:45 EST References: <136@quacky.mips.UUCP> Sender: news@mimsy.UUCP Reply-To: israel@brillig.UUCP (Bruce Israel) Distribution: na Organization: U of Maryland, Dept. of Computer Science, Lines: 24 In article <136@quacky.mips.UUCP> dce@quacky.UUCP (David Elliott) writes: > >In our environment, it is possible for the sendmail configuration file >to change much more frequently than a machine is rebooted. > >I would like to modify sendmail to have it re-read the configuration >file on some given signal (HUP?), but I am worried that sendmail >can't handle this without modifications elsewhere. Is there anyone >with a lot of sendmail experience that can help me out? I've been wanting such a signal myself, but haven't looked into adding one. We also have tables that the sendmail.cf file uses that are updated on a nightly basis. As a result, what we do is have a line in crontab that looks like: 30 2 * * * root cd /usr/lib/hostnames/bin; /usr/local/bin/user bin /bin/make; kill `ps aux | egrep '/usr/lib/sendmail -bd -q15m' | awk '{print $2}'`; /usr/lib/sendmail -bd -q15m & It's ugly, but it works. Every night at 2:30am, cron updates all necessary tables then kills off and restarts the daemon. Bruce Israel University of Maryland, Computer Science Dept. {rlgvax,seismo}!umcp-cs!israel (Usenet) israel@Maryland (Arpanet)