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 <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to