From: Frank Cox Sent: April 1, 2008 16:03
On Wed, 02 Apr 2008 01:00:15 David Hláčik david@hlacik.eu 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