Skip to Content.
Sympa Menu

en - Re: [sympa-users] Allow subscribers of lists a,b,c,... to post on

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: Daniel Black <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Allow subscribers of lists a,b,c,... to post on
  • Date: Tue, 06 Oct 2009 01:03:01 +0200

Hi everybody,

I completely missed the beginning of this discussion, but I may have valuable informations for that particular problem.
You could use custom list parameters for your purpose: http://www.sympa.org/manual/customizing#custom_parameters

Just set a custom parameter, for example:

      var name : sisterList
      var value : foolist

And add a rule to your send scenario looking like:

is_subscriber([sender],[custom_vars->sisterList])      smtp,md5,smime         do_it

People subscribed to list foolist will be allowed to post to the list, but won't be subscribed to it, and then won't receive their messages.

You can create several custom parameters (sisterList1, sisterList2, sisterList3, etc.) and add a rull for each of them. for example:

is_subscriber([sender],[custom_vars->sisterList1])      smtp,md5,smime         do_it
is_subscriber([sender],[custom_vars->sisterList2])      smtp,md5,smime         do_it
is_subscriber([sender],[custom_vars->sisterList3])      smtp,md5,smime         do_it

Just add these lines to your basic send scenario and use it in all the lists in which you want people from other list to be alloed to post.
If you don't set a sisterList* parameter, the rules will simply be ignored.

Hope this helps,

Regards,

David

Daniel Black a écrit :
On Wednesday 30 September 2009 17:08:16 Matthias Warkus wrote:
  
Am Mittwoch, den 30.09.2009, 14:52 +1000 schrieb Daniel Black:
    
The way is to edit the scenario for the list potentially globally.
Assuming you have a discussion list your scenario will look like:

title.gettext Private, confirmation for non subscribers, no bcc

equal([is_bcc],1)	           smtp,md5      -> reject
true()                             md5,smime     -> do_it
is_subscriber([listname],[sender]) smtp          -> do_it
true()                             smtp          -> request_auth

(Admin -> Edit List Config ->  Sending/Reception - top option -> scenario
source button on the top right)

add extra lines like:
is_subscriber(funkylist1,[sender]) smtp          -> do_it
is_subscriber(funkylist2,[sender]) smtp          -> do_it
is_subscriber(specialtopiclist,[sender]) smtp          -> do_it
      
Yes, this is what we ended up doing, but it's what I wanted to avoid,
because it requires a custom scenario for each list with such a setup.
    
Just make an overall include file for all the is_subscriber lists and don't 
worry about if you duplicate a rule. Make the include part of the system 
scenario file.

I may be missing something however I think if you've consider these your doing 
the best possibel.


  



  • Re: [sympa-users] Allow subscribers of lists a,b,c,... to post on, David Verdin, 10/05/2009

Archive powered by MHonArc 2.6.19+.

Top of Page