The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mailman email lists backing up

Discussion in 'E-mail Discussions' started by ctbhost, Apr 25, 2005.

  1. ctbhost

    ctbhost Well-Known Member

    Joined:
    May 31, 2002
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    :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
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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
     
  3. ctbhost

    ctbhost Well-Known Member

    Joined:
    May 31, 2002
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    thank you

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

    qkslvr Member

    Joined:
    Mar 2, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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.
     
  6. gourou76

    gourou76 Member

    Joined:
    Feb 28, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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
     
    #6 gourou76, Sep 24, 2005
    Last edited: Sep 24, 2005
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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.
     
  8. gourou76

    gourou76 Member

    Joined:
    Feb 28, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  9. gourou76

    gourou76 Member

    Joined:
    Feb 28, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
  10. gourou76

    gourou76 Member

    Joined:
    Feb 28, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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
     
Loading...

Share This Page