get a list's subscribe_policy via the command line
I've been looking around and I'm not sure it exists but figured I would check here. I'm looking for a way to get a list's subscribe_policy from the command line.
We are syncing our lists with some user lists in our system but I only want to do this from mailman if 'require approval' or 'confirm and approve' are set. If anyone has any thoughts on how to verify this I'd appreciate the pointers.
Thanks, -Erin
On 11/02/2017 04:28 PM, Erin Test wrote:
I've been looking around and I'm not sure it exists but figured I would check here. I'm looking for a way to get a list's subscribe_policy from the command line.
We are syncing our lists with some user lists in our system but I only want to do this from mailman if 'require approval' or 'confirm and approve' are set. If anyone has any thoughts on how to verify this I'd appreciate the pointers.
for list in bin/list_lists -b
;do
echo $list
bin/config_list -o- $list|grep 'subscribe_policy = [23]'
done
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Erin Test
-
Mark Sapiro