tel2 has asked for the wisdom of the Perl Monks concerning the following question:
I'm writing a Perl script to backup/restore GNU Mailman mailing lists, including member addresses, and all the settings like Sender filters, options for each list member, etc. (If I'm re-inventing a (free) wheel, please tell me the alternative before I waste too much time on it.)
I'm trying to use the WWW::Mailman module and I've been able to dump the settings from all the sections I require, but one thing I haven't worked out is, when I restore this stuff, how can I set the options for each member (e.g. nodups), without having to get the script to login as each member. WWW::Mailman shows how to change a list member's options, but it seems the script must login as that member first.
Can WWW::Mailman do this, or am I going to have to use WWW::Mechanize or something else? Some sample code would be appreciated (e.g. something to set nodupes=on for some member).
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Backup/restore Mailman mailing lists
by zwon (Abbot) on Jul 26, 2012 at 11:21 UTC | |
by tel2 (Pilgrim) on Jul 26, 2012 at 23:01 UTC | |
by Anonymous Monk on Jul 27, 2012 at 00:02 UTC | |
by tel2 (Pilgrim) on Jul 27, 2012 at 00:26 UTC |