Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcnc!philabs!prls!mips!dce From: dce@mips.UUCP (David Elliott) Newsgroups: comp.unix.questions Subject: How to make sendmail re-read the configuration file Message-ID: <136@quacky.mips.UUCP> Date: Thu, 8-Jan-87 14:10:58 EST Article-I.D.: quacky.136 Posted: Thu Jan 8 14:10:58 1987 Date-Received: Sat, 10-Jan-87 08:37:16 EST Reply-To: dce@quacky.UUCP (David Elliott) Distribution: na Organization: MIPS Computer Systems, Sunnyvale, CA Lines: 17 In our environment, it is possible for the sendmail configuration file to change much more frequently than a machine is rebooted. I looked at the code for sendmail, and could only find one place where it reads the configuration file (in main()), and no way to send a signal or message saying "re-read the configuration file". This means that we have to kill the daemon and restart it manually (or at best by finding the pid using ps, killing it, and restarting it with the right arguments). 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? David