RE: sendmail aliases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: Chris Payne Sent: April 1, 2008 16:15
>
> On Tue, Apr 01, 2008 at 04:07:33PM -0700, Hugh E Cruickshank wrote:
> > From: David Hláèik Sent: April 1, 2008 16:00
> > >
> > > or just restart sendmail is enought?
> > >
> > I do not believe that that will work. The databases are normally
> > only updated on demand when you issue the newaliases command.
> > restarting sendmail will just use the exiting database without
> > the changes you did to the /etc/aliases file.
>
> If you use the init scripts, the newaliases command is run as part
> of the
> "start" or "reload" functions:
>
> > grep newaliases /etc/init.d/sendmail
> 		/usr/bin/newaliases > /dev/null 2>&1
> 		/usr/bin/newaliases > /dev/null 2>&1
> >
>
> A "make" in /etc/mail is also included.
>

I stand corrected (no surprise there<g>) but I still feel it is over
kill when just doing the newaliases command will achieve the desired
change.

Regards, Hugh

--
Hugh E Cruickshank, Forward Software, www.forward-software.com

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux