[Mailman-Users] Accessing Mailman database file with Java
Christopher Cheng
mylist at chrishome.com
Tue Nov 23 16:29:00 CET 2004
Is there a patch/plugin to make mailman uses mysql/mssql as backend?
Reading the code of MailList.py, it seems that it is using cPickle to save
the mail list
fp = open(fname_tmp, 'w')
# Use a binary format... it's more efficient.
cPickle.dump(dict, fp, 1)
fp.flush()
if mm_cfg.SYNC_AFTER_WRITE:
os.fsync(fp.fileno())
fp.close()
If I want to read the file using my Java program, either I have to the file
serialized by cPickle or modify the python code to write it to RDBMS.
Anybody has an idea?
More information about the Mailman-Users
mailing list