Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2001 13:42:43 -0500
From:      Louis LeBlanc <leblanc+freebsd@keyslapper.org>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Subject:   sendmail doesn't like changed nameservers
Message-ID:  <20011115184242.GA43009@keyslapper.org>

next in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011115184242.GA43009>