LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Parts/Attachments: TEXT/PLAIN (39 lines)
Print Reply
Sender:
LISTSERV give-and-take forum <[log in to unmask]>
Date:
Wed, 28 May 1997 14:54:28 -0400
Reply-To:
Mark Kaprow <[log in to unmask]>
Subject:
From:
Mark Kaprow <[log in to unmask]>
Content-Type:
TEXT/PLAIN; charset=US-ASCII
In-Reply-To:
MIME-Version:
1.0
Comments:
On Wed, 28 May 1997 [log in to unmask] wrote:

> On Wed, 28 May 1997 10:39:20 EDT, you said:
> > But this assumes that the -t will work with your version of listserv and that
> > your sendmail.pid is in /etc.
>
> And that doing a   kill -HUP `cat /etc/sendmail.pid`   will Do The Right
> Thing.  I got bit by this when I upgraded to some Sendmail 8.X I can't remember,
> and there were *two* lines in sendmail.pid - the actual pid, and the
> argv[] array used if we need to re-exec ourselves.  So the 'cat' had to
> be changed to a 'head -1'.
>
> I seem to remember that the kill -HUP was overkill for Sendmail 8, and that
> a simple newaliases sufficed.  Apparently, it now does a stat() call or something
> once in a while to see if anybody updated the files out from under it ;)
>

I believe you are right on both counts.  However, old habits die hard.  I guess
I've been too lazy to modify the Makefile, but I just looked at it, and if we
make the changes indicated here, I think we will be okay:

list:
        echo "# -- Aliases for '$(WHICH)' mailing list" >>$(ALIASES)
        make LSV_aliases NEW_A=$(WHICH)
        make LSV_aliases NEW_A=owner-$(WHICH)
        make LSV_aliases NEW_A=$(WHICH)-request
        make LSV_aliases NEW_A=$(WHICH)-search-request
        make LSV_aliases NEW_A=$(WHICH)-server
        newaliases
        if [ -s '/etc/mail/sendmail.pid' ]; then \
                newaliases; \
        else true; \
        fi


Note:  this if only for UNIX and I guarantee nothing about it.

Mark

ATOM RSS1 RSS2