Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Allow posts to one list of you're subscribed to another?
- From: Warren Anderson <address@concealed>
- To: John Levine <address@concealed>
- Cc: address@concealed
- Subject: Re: [sympa-users] Allow posts to one list of you're subscribed to another?
- Date: Thu, 8 Oct 2015 21:25:25 -0600
Wandering off topic, slightly, but might it be worth creating an LDAP
instance for your church? Using group memberships in LDAP to create
subscriber groups allows you to use those groups for other lists AND for any
number of other applications (wiki editors, phone lists, etc), as well as
providing general directory info to members.
Just a thought.
Warren
On Oct 8, 2015, at 13:03 , John Levine <address@concealed> wrote:
>>> CustomCondition::is_user([sender]) smtp,dkim,md5,smime -> do_it
>>> true() smtp,dkim,md5,smime -> reject
>>
>> That's pretty close. I want to allow people subscribed to list A to
>> post to list B. I could do a separate is_user_list_foo() for each
>> list, but is there a way to pass an argument to a custom routine
>> like is_user so I can check for a specific list?
>
> Oh, I see, I can pass as many arguments to is_user() as I want, so I
> pass the list and robot as arguments, so here's my send.memberorother
> scenario, using blah and robotdomain as the list and robot:
>
> title.gettext Subscribers to blah
>
> is_subscriber([listname],[sender]) smtp,dkim,md5,smime -> do_it
> is_editor([listname],[sender]) smtp,dkim,md5,smime -> do_it
> CustomCondition::is_user([sender],'blah','robotdomain') smtp,dkim,md5,smime
> -> do_it
> true() smtp,dkim,md5,smime -> editorkey
>
> Once I figured it out, that was remarkably easy. Thanks!
>
> R's,
> John
>
+================[ WARREN G. ANDERSON ]====================+
| PO Box 413, Dept. of Physics, Milwaukee, WI 53201, USA |
| CANADA: (403) 617 6720 USA: (414) 212 5446 |
+==========================================================+
-
[sympa-users] Allow posts to one list of you're subscribed to another?,
John Levine, 10/08/2015
-
Re: [sympa-users] Allow posts to one list of you're subscribed to another?,
David Verdin, 10/08/2015
-
Re: [sympa-users] Allow posts to one list of you're subscribed to another?,
John Levine, 10/08/2015
-
Re: [sympa-users] Allow posts to one list of you're subscribed to another?,
John Levine, 10/08/2015
- Re: [sympa-users] Allow posts to one list of you're subscribed to another?, Warren Anderson, 10/09/2015
-
Re: [sympa-users] Allow posts to one list of you're subscribed to another?,
David Verdin, 10/09/2015
-
RE: [sympa-users] Allow posts to one list of you're subscribed to another?,
Steve Shipway, 10/09/2015
-
Re: [sympa-users] Allow posts to one list of you're subscribed to another?,
David Verdin, 10/09/2015
- RE: [sympa-users] Allow posts to one list of you're subscribed to another?, Steve Shipway, 10/09/2015
-
Re: [sympa-users] Allow posts to one list of you're subscribed to another?,
David Verdin, 10/09/2015
-
RE: [sympa-users] Allow posts to one list of you're subscribed to another?,
Steve Shipway, 10/09/2015
-
Re: [sympa-users] Allow posts to one list of you're subscribed to another?,
John Levine, 10/08/2015
-
Re: [sympa-users] Allow posts to one list of you're subscribed to another?,
John Levine, 10/08/2015
-
RE: [sympa-users] Allow posts to one list of you're subscribed to another?,
Steve Shipway, 10/08/2015
- RE: [sympa-users] Allow posts to one list of you're subscribed to another?, John R Levine, 10/08/2015
-
Re: [sympa-users] Allow posts to one list of you're subscribed to another?,
David Verdin, 10/08/2015
Archive powered by MHonArc 2.6.19+.