Re: [Mailman-Users] Mailman handler to run sync_members

2014-12-12 Thread Jon 1234
> Date: Thu, 4 Dec 2014 20:47:37 -0800 > From: m...@msapiro.net > > On 12/04/2014 05:55 PM, Jon 1234 wrote: > >>> The get_memb script is specific to our database, but it could basically >>> be anything, even just a straight MySQL query, that produces the desired >>> list (In our case, the logic of

Re: [Mailman-Users] Mailman handler to run sync_members

2014-12-04 Thread Mark Sapiro
On 12/04/2014 05:55 PM, Jon 1234 wrote: >> The get_memb script is specific to our database, but it could basically >> be anything, even just a straight MySQL query, that produces the desired >> list (In our case, the logic of determining whether a record in the >> table is that of a current member

Re: [Mailman-Users] Mailman handler to run sync_members

2014-12-04 Thread Jon 1234
> Date: Mon, 1 Dec 2014 17:39:30 -0800 > From: m...@msapiro.net > I do this differently. I just run a daily cron does something like: > > #! /bin/bash > /home/mark/.cron/get_memb | \ > /usr/local/mailman/bin/sync_members -w=yes -g=no -a=no -f - gpc-announce This sounds like a good idea (especially

Re: [Mailman-Users] Mailman handler to run sync_members

2014-12-01 Thread Mark Sapiro
On 12/01/2014 07:55 AM, Jon 1234 wrote: > Would it be possible to implement a custom Mailman handler for this? > > If email is from a particular email address & to a particular list: > - Create flat file from MySQL query > - Run sync_members using that file > - Email the email address detailing th

[Mailman-Users] Mailman handler to run sync_members

2014-12-01 Thread Jon 1234
Would it be possible to implement a custom Mailman handler for this? If email is from a particular email address & to a particular list: - Create flat file from MySQL query - Run sync_members using that file - Email the email address detailing the changes made Before I try to reinvent the wheel -