Skip to Content.
Sympa Menu

en - Allowing subscription to a list only if the user is in another list?

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Cef <address@concealed>
  • To: address@concealed
  • Subject: Allowing subscription to a list only if the user is in another list?
  • Date: Tue, 20 Jul 2004 14:42:30 +1000

Wondering if this is easily possible? At the moment we're using 3.4.4.3, but
that is soon to change. Preferrably I'd like something I can implement now,
and carry across to 4.x when we migrate soon.

I've got a number of lists that are set up for confirmation of subscription
by
the list owner (subscribe.owner). We need to make sure that everyone is on
another list (the announce list). At the moment this is done manually, and
can be a right pain. So I'm wondering if the below is possible?

Can a list be set up that, if someone tries to subscribe to it, and they're a
member of the announce list (this would be defined somewhere), that they
could be automatically allowed onto the list, without sending a confirmation
to the list owner, or requiring a confirmation response?

Sympa refuses to accept the following scenari, but I'm guessing I can do
something like this:

# if subscriber request come from a subscriber, it's just an update, do it
is_subscriber([listname],[sender]) smtp,smime,md5 -> do_it
# if subscription request is just a change email, it is open :
is_subscriber([listname],[previous_email]) smtp,smime,md5 -> do_it
# if subscriber is on 'announce' list, it is open :
is_subscriber('announce',[sender]) smtp,smie,md5 -> do_it
true() smtp,smime,md5 -> owner

Eventually I'd turn off the list owner authorisation part completely so that
they have to be on the announce list to be able to subscribe, which of course
would have a different joining scenario.

Am I on the right track with the above? Any pointers?

I'm also wondering if there is a test I can add for "This subscription is
waiting to be processed?" so that I can negate people submitting subscription
requests 5 times with the same address?

--
Stuart Young - aka Cefiar - address@concealed


  • Allowing subscription to a list only if the user is in another list?, Cef, 07/20/2004

Archive powered by MHonArc 2.6.19+.

Top of Page