Great Circle Associates Majordomo-Users
(July 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: "No Command" Subscribe & Unsubscribe
From: Thomas Schenk <tschenk @ dejanews . com>
Date: Wed, 23 Jul 1997 08:54:35 -0500 (CDT)
To: David Gibbs <david @ midrange . com>
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: <1.5.4.32.19970721230534.008efac4@touchnet.com>


At 09:15 AM 7/20/97 -0500, you wrote:
>Folks:
>
>I'm looking for a way of creating 2 aliases for my list that will allow
>folks to subscribe & unsubscribe without having to know the majordomo
>commands.
>
>Something like "LISTNAME-SUB@midrange.com" to subscribe to a specific list
>and "LISTNAME-UNSUB@midrange.com" to unsubscribe from a specific list.
>
>TIA!
>
>david
>

David,
        You could define the aliases as follows:

list-sub:       "|/some/path/subscribe list"
list-unsub:     "|/some/path/unsubscribe list"

where subcribe and unsubscribe are scripts that take the list name as a
argument, parses the incoming message to determine the sender and then
sends the appropriate command to majordomo or list-request to subscribe
or unsubscribe the sender.  The hard part would be to determine which
header line to use.  Alternatively, the scripts could strip the To: header
from the original, replace with a To: line pointing it at majordomo and
add the subscribe or unsubscribe command to the beginning of the message
followed by the end command.  You could probably hack up resend to do
this.

Tom

--
+-----------------------+-------------------------+------------------------+
| Tom Schenk            | Use Linux!              | All opinions expressed |
| tschenk@dejanews.com  |    Friends don't let    | are mine and not those |
| tschenk@theoffice.net |     friends do Windows! | of my employer.        |
+-----------------------+-------------------------+------------------------+



References:
Indexed By Date Previous: Re: problem
From: trasatti@softmedia.it
Next: RE: How does one add to admin request filtering?
From: "Mary Fowler" <major@tgci.com>
Indexed By Thread Previous: Re: "No Command" Subscribe & Unsubscribe
From: Kimara Wada <kwada@sol.touchnet.com>
Next: Problems with Majordomo
From: sricci@sutmyn.com (Steve Ricci)

Google
 
Search Internet Search www.greatcircle.com