Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 1998 14:15:27 -0700 (PDT)
From:      Tom <tom@uniserve.com>
To:        Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
Cc:        Mike Smith <mike@smith.net.au>, "Jonathan M. Bresler" <jmb@FreeBSD.ORG>, freebsd-stable@FreeBSD.ORG
Subject:   Re: sendmail in -stable and aliases
Message-ID:  <Pine.BSF.3.96.980422141251.17722A-100000@shell.uniserve.ca>
In-Reply-To: <19980422230340.A415@physik.fu-berlin.de>

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

On Wed, 22 Apr 1998, Axel Thimm wrote:

> On Wed, Apr 22, 1998 at 01:38:06PM -0700, Mike Smith wrote:
> > Did you try restarting sendmail?
> 
> No, I hadn't, and this was the cause of the grief. After a HUP sendmail behavied
> well again.
> 
> > > On a related note I also have problems installing the majordomo aliases (I get a
> > > strange error from newaliases), which I posted on freebsd-ports.
> > 
> > The port installs the alias file in an insecure fashion.  The 
> > diagnostic from 'newaliases' makes this fairly clear.  You need to 
> > change the ownership of the directory containing the alias file.
> 
> This is also very correct. I just copied the majordomo aliases over to /etc and now
> they have all the protection they need.
> 
> About the `restarting sendmail' trap: I had looked through the man pages and found
> nothing suggesting a restart. Should this be mentioned in newaliases at least?

  A HUP should not be required for newaliases.

  I'm thinking that you did not rebuild the secondary alias file properly,
so sendmail did not notice the changes.

> On the other hand there are some parts of sendmail.cf
> 
> > # automatically rebuild the alias database?
> > #O AutoRebuildAliases
> 
> implying that it might even be safe to not issue newaliases at all, if these entries
> had been uncommented. (But then this might be the reasin they are commented).

  This is different.  This option means that sendmail will automagically
rebuild aliases on the fly.  This is not safe.  newaliases is safe.

> Thanks for the *very* fast replies! You made my day (or better night on this part of the
> world).
> 
> Regards, Axel.
> -- 
> Axel Thimm   Axel.Thimm@physik.fu-berlin.de Axel.Thimm@ifh.de

Tom


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980422141251.17722A-100000>