From owner-freebsd-questions Thu Nov 15 10:41:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail-relay1.mirrorimage.net (mail-relay1.mirrorimage.net [209.58.140.11]) by hub.freebsd.org (Postfix) with ESMTP id 63EC937B417 for ; Thu, 15 Nov 2001 10:41:44 -0800 (PST) Received: from leblanc.mirrorimage.net (leblanc.mirrorimage.net [209.192.210.146]) by mail-relay1.mirrorimage.net (8.9.3/8.9.3) with ESMTP id NAA29682 for ; Thu, 15 Nov 2001 13:40:50 -0500 Received: (from leblanc@localhost) by leblanc.mirrorimage.net (8.11.6/8.11.4) id fAFIghd43203 for freebsd-questions@FreeBSD.org; Thu, 15 Nov 2001 13:42:43 -0500 (EST) (envelope-from leblanc) Date: Thu, 15 Nov 2001 13:42:43 -0500 From: Louis LeBlanc To: FreeBSD Questions Subject: sendmail doesn't like changed nameservers Message-ID: <20011115184242.GA43009@keyslapper.org> Reply-To: freebsd-questions@FreeBSD.org Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline User-Agent: Mutt/1.3.23.1i X-bright-idea: Lets abolish HTML mail! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --T4sUOijqQbZv57TR Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey all. I have a strange problem with sendmail and my dhcp lease. What happened is my ISP (AT&T Broadband) renumbered me again day before yesterday, and changed all the nameservers. My dhclient-exit-hooks script didn't fix everything, but I found out why and have fixed it now. What I can't figure out is how to get sendmail to pick up the nameserver change on the fly. I wound up having to kill sendmail from /etc/mail/ using make stop. I then had to ps -ax for the remaining sendmail processes and kill them explicitly. Otherwise I kept getting resolve errors in /var/log/maillog. Is it possible to get sendmail to do this more gracefully from a script? What is the general consensus for calling 'killall -HUP sendmail'? If that is BAD, let me know so I don't do it :). Anyway, I don't think I lost any mail (maybe a couple), but I would like this to be automated so I don't really need to know when I get a change in my dhcp lease. TIA & HAND Lou --=20 Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org =D4=BF=D4=AC Power, n.: The only narcotic regulated by the SEC instead of the FDA. --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD4DBQE79AyieAPWYrNkRWIRAln9AJ44mlQizjHmGCKJGdU/10lSxTpdkACRATdT yz7urmdn3WfCK4U4kQ8ERA== =gH+Y -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message