[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mailman-users
Subject:    Re: [Mailman-Users] automating adding and removing subscribers
From:       Mark Sapiro <mark () msapiro ! net>
Date:       2015-10-20 23:04:14
Message-ID: 5626C86E.8010105 () msapiro ! net
[Download RAW message or body]

On 10/20/2015 02:42 PM, Steven Jones wrote:
> 
> Is there a way to automate the adding and removing subscribers from another system? \
> such that the list is kept concurrent?


Please don't hijack threads by replying to unrelated posts. Your post is
still threaded with the one you replied to even if you change the Subject:

If you have two lists on the same server/mailman installation

bin/list_members -f <source_listname> | bin/sync_members -f - [other
options] <dest_listname>

all on one line, run by cron as often as you like.

On two different hosts, a cron on the destination that runs
bin/list_members on the source with output to a file (via ssh) followed
by rsync to copy the file to the destination followed by
bin/sync_members on the destination.

Give the list_members and sync_members commands with --help for
documentation.

-- 
Mark Sapiro <mark@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
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/mailman-users%40progressive-comp.com



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic