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

Re: [cobalt-users] Suspending users & sites



"Rodolfo J. Paiz" <rpaiz@xxxxxxxxxxxxxx> wrote:
> not do that. The command to restart sendmail is "officially" as listed in
> the instructions something like:
>
> kill -HUP `head -n 1 sendmail.pid` (NOT EXACT COMMAND)

Use the full path of sendmail.pid and it's exactly right.

> I just wrote a tiny script in the /root/bin directory called
> sendmail.restart, put these contents in it:
>
> ------
>
> #!/bin/bash
> #
>
> echo "Rehashing virtusertable..."
> makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable

FYI, on older RaQs the file is /etc/virtusertable.  I don't recall if
offhand whether the RaQ3 or 4 was the first to move to the location Rodolfo
used.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/