Re: [Mailman-Users] admin email interface
Note: forwarded message attached.
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Tony Bibbs wrote:
Even if you create an API to use the command line, don't you still have a problem because you can't set all the list attributes that you can via the web interface, right?
Any list attribute that can be set via the web interface can be set via config_list. Just write the appropriate settings to a file and invoke config_list with that file as input.
Given that, how is the mailing list data stored? I wouldn't suppose I'd be lucky to find the data is stored in a flat file that is easy enough to work with directly?
No. The data are stored as a Python pickle of the mail list instance in lists/<listname>/config.pck.
Of course, you can use things like bin/config_list and bin/list_members to write the data as a flat file.
Once you start talking about manipulating the list object directly, you're really talking about modifying/rewriting the existing web CGI interface. You might want to consider modifying the front end of the existing CGI scripts rather that trying to link the back end of your own stuff.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Tony Bibbs