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.

Fixing mailman mailing list after server move

Discussion in 'E-mail Discussions' started by Wallaby, Oct 9, 2003.

  1. Wallaby

    Wallaby Well-Known Member

    Joined:
    Aug 15, 2001
    Messages:
    131
    Likes Received:
    1
    Trophy Points:
    18
    When using the account copy function in WHM to copy an account from one server to another, it seems that mailman mailing lists are not copied correctly.

    Specifically, when you try to access the mailing list admin page at
    http://new.server.com/mailman/admin/mailinglistname then all the links in the page will show http://OLD.server.com/mailman instead!

    This is because the account copy script has not updated the config for the list correctly.

    To fix this:

    1. Log on to the server using SSH and go to /usr/local/cpanel/3rdparty/mailman

    2. Output a mailman configuration file for that mailing list using:

    bin/config_list -o qq mailinglistname

    This causes mailman to write the config for the mailinglistname list to the text file qq

    3. Edit the qq config file using:

    pico qq

    4. Search for web_page_url (use ctrl-W). Probably you won't find an entry for this variable, just the comment (with a # at the front). If so, add a blank line under the comment and type:

    web_page_url = 'http://new.server.com/mailman/'

    replacing new.server.com of course. Save the file (ctrl-X).

    5. Import the edited configuration back into mailman, using:

    bin/config_list -i qq mailinglistname

    6. Verify that the admin interface now works correctly with the correct links.

    (Another thing to add to the list of fixes for the generally excellent account copy script please! Tks.)

    cPanel.net Support Ticket Number:
     
  2. mickeymouse

    mickeymouse Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    389
    Likes Received:
    0
    Trophy Points:
    16
    Dear Wallaby,

    Thanks for your information.

    Regards,
     
  3. reddrake

    reddrake Well-Known Member

    Joined:
    Apr 2, 2003
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Wisconsin,Usa
    The qq file is blank when I do it :/ Assistance please?
     
  4. seahorse

    seahorse Well-Known Member

    Joined:
    Jul 3, 2003
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    the copy account using root still does not copy the mailman mailing lists.
     
Loading...

Share This Page