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: "John Levine" <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-users] Allow posts to one list of you're subscribed to another?
- Date: 8 Oct 2015 19:03:42 -0000
>>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
-
[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+.