LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

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

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

Print Reply
Gregory Decker <[log in to unmask]>
Tue, 1 Oct 1996 11:03:21 -0400
text/plain (41 lines)
On Mon, 30 Sep 1996 15:12:38 -0500 Christy Schaefer said:
> We would like to automate some commands, however we can not find command
> line utilities which allow this. In particular we would like to make
> Adding or Removing List Owners a WWW application. However, the only way
> we know to add or remove a list owner at this point is to get the header,
> edit the header and put the header again. This is not a process that we
> can automate on the WWW.
 
Don't say can't. One of us has or will do it even if LISTSERV doesn't
get a better command interface than email for sometime. Here is the
scenario that will work if your web server is UNIX or UNIX like with
sendmail and PERL or C. It may not be very fast but it is automatic.
 
1) The web page sends a request to a CGI program on a WEB server.
 
2) The web server creates a file with the request with its name based
on the list and timeofday. This server also emails a request for the header
from the LISTSERV as a postmaster, 'weblsv' or some such name using fake
or forged mail (a sendmail 'trick').
 
3) Some time later, the LISTSERV mails the header to mailbox 'weblsv'
which isn't a mailbox but a PERL or C program (alias file 'trick' that pipes
a file to a program) that can do the proper edits to the header based on
the request in the file from step 2). This corrected header is then mailed
back to LISTSERV as a PUT. Another piece of 'forged' mail.
 
The only waiting done, is by programs - not people. My soon to be released
Perl scripts for moving lists from VM 1.8 to UNIX 1.8 use these techniques.
 
        ...Greg
 
 
-----------------------------------------------------------------------
Gregory Decker - Senior Systems Administrator
National Institutes of Health/DCRT/NSB
PH:  301-402-4763
FAX: 301-480-6041
EMail: [log in to unmask]
 
-----------------------------------------------------------------------

ATOM RSS1 RSS2