RE: sendmail aliases

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



From: Frank Cox Sent: April 1, 2008 16:03
> 
> On Wed, 02 Apr 2008 01:00:15 David Hláčik <david@xxxxxxxxx> wrote:
> 
> > or just restart sendmail is enought?
> 
> No.
> 
> I run this short bash script every time I make a change in my sendmail
> configuration:
> 
> #!/bin/bash
> cd /etc/mail
> make
> newaliases
> /etc/init.d/sendmail restart
> 

While that will work it is really overkill. All you need to do is
edit the /etc/aliases file and issue the newaliases command. sendmail
will use the updated databases immediately.

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