*BSD News Article 10585


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA340 ; Sun, 31 Jan 93 14:03:46 EST
Xref: sserve comp.mail.sendmail:6731 comp.unix.bsd:10638
Newsgroups: comp.mail.sendmail,comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!linac!mp.cs.niu.edu!rickert
From: rickert@mp.cs.niu.edu (Neil Rickert)
Subject: Re: sendmail 5.65c/IDA 1.4.4 - problem
Message-ID: <1993Jan31.032029.1783@mp.cs.niu.edu>
Organization: Northern Illinois University
References: <C1GyHB.9Av@malihh.hanse.de> <1993Jan28.150711.23605@dsuvax.dsu.edu>
Date: Sun, 31 Jan 1993 03:20:29 GMT
Lines: 20

In article <1993Jan28.150711.23605@dsuvax.dsu.edu> ghelmer@dsuvax.dsu.edu (Guy Helmer) writes:
>I have had the same trouble with sendmail/IDA under 386BSD 0.1 using GDBM.
>I've found that I have to kill the sendmail daemon to be able to
>successfully run 'sendmail -bi' or 'newaliases', then restart the daemon
>('sendmail -bd -q30m').

I believe this is because GDBM insists on locking the database.  Try a
different database package.

>Anyone know of a way to rebuild the aliases table without having to kill
>the sendmail daemon?

  rm -f /etc/aliases+
  ln /etc/aliases /etc/aliases+
  /usr/lib/sendmail -oA/etc/aliases+ -bi
  rm -f /etc/aliases.dir
  mv -f /etc/aliases+.pag /etc/aliases.pag
  mv -f /etc/aliases+.dir /etc/aliases.dir
  rm -f /etc/aliases+