Mailman email lists backing up

ctbhost

Well-Known Member
May 31, 2002
138
0
316
:mad: a few months ago, one of my users wanted a backup of their mailman subscribers,

i managed to find a script on my server to do this - part of the mailman setup.

BUT i cant find it now and cant remember what it was called - all it did was exported the names to a list

does anyone know what the script is called ???


Also WHY doesnt mailman have an export or backup feature ??? i would have thought it would be a basic feature
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
A quick visit to Mailmans website gives:
http://www.list.org/site.html

Then on your server:

locate list_members

Reveals the likely suspect:

/usr/local/cpanel/3rdparty/mailman/bin/list_members listname

If you don't know the list name:

/usr/local/cpanel/3rdparty/mailman/bin/list_lists
 

ctbhost

Well-Known Member
May 31, 2002
138
0
316
thank you

i have been tearing my hear out trying to remember or find something
 

qkslvr

Member
Mar 2, 2003
18
0
151
I know this is old. But I used the command
#/usr/local/cpanel/3rdparty/mailman/bin/list_lists

to list the lists on the server

Then followed it up by
# /usr/local/cpanel/3rdparty/mailman/bin/list_members Anuncios
and received the reply
No such list: anuncios

I seem to get the same error no matter hwat list i try that is on the machine according to the first comman d and the lists for a user account as listed with cpanels mail section.

Any ideas?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Just tried it on my MailScanner list and it works OK. Your Mailman lists ought to be named listname_domainname.tld not just listname.
 

gourou76

Member
Feb 28, 2005
6
0
151
Greeetings,

Sorry to piggy back on this one!

If you have SSH on your hosted machine and not root, is there a way to export email from your list?

Cheers
Jimmy
 
Last edited:

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
You can try. Have a look at the commands available from the site I listed and give them ago. That said, it may not be possible.
 

gourou76

Member
Feb 28, 2005
6
0
151
Hi Jonathan,

Thanks for your input! I am desperately looking for documentation on how to export 7646 emails from my mailman as I need to transfer them to a new domain and re import there.

From the web based GUI?

Best,
Jimmy
 

gourou76

Member
Feb 28, 2005
6
0
151
Jonathan,
You are right!

-bash-2.05b$ ./list_lists
Traceback (most recent call last):
File "./list_lists", line 122, in ?
main()
File "./list_lists", line 94, in main
mlist = MailList.MailList(n, lock=0)
File "/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 129, in __init__
self.Load()
File "/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 625, in Load
dict, e = self.__load(file)
File "/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 591, in __load
fp = open(dbfile)
IOError: [Errno 13] Permission denied: '/usr/local/cpanel/3rdparty/mailman/lists/adherents.quinquas_esrandgmg.info/config.pck'
-bash-2.05b$

Maybe there is a script or the GUI?

Thanks,
Jimmy