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.

Deleting some or all mailman archives

Discussion in 'E-mail Discussions' started by dory36, May 14, 2005.

  1. dory36

    dory36 Well-Known Member

    Joined:
    Aug 30, 2003
    Messages:
    179
    Likes Received:
    0
    Trophy Points:
    16
    One user's mailman archives have grown to 250+MB. He wants me to delete some or all of the archives. Searching through the threads here and elsewhere hasn't shed much light.

    Any suggestions?

    Thanks!
     
  2. rwoliver2

    rwoliver2 Member

    Joined:
    Mar 15, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I'll definately second that inquiry. However, I'd also like to know if there is a way for the user to edit the archives, not just us. The directory has non/user ownage, so I figure there probably isn't a way to do it with the files directly.

    Anyone that can shed some light on this?
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
  4. dory36

    dory36 Well-Known Member

    Joined:
    Aug 30, 2003
    Messages:
    179
    Likes Received:
    0
    Trophy Points:
    16
    Heh -- and the mailman FAQ says
    There is a procedure for removing individual or all archived messages, at http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.003.htp -- my concern is whether the cpanel modifications to mailman would make that procedure invalid.
     
  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 had a poke around:

    You need to find the lists mbox file under /usr/local/cpanel/3rdparty/mailman/archives/

    You can either use a text editor (not very helpful) or an email client that can work with mobx files, such as mutt, i.e.:

    mutt -f /path/to/listname.mbox

    However, follow the procedure on that page and be careful with file permissions and ownerships. And backup before doing anything.
     
Loading...

Share This Page