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.

Move a current mailinglist to a subdomain?

Discussion in 'E-mail Discussions' started by pratrik, Nov 22, 2013.

  1. pratrik

    pratrik Registered

    Joined:
    Sep 17, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    QUICK VERSION:
    How can I move a live mailing list from domain.com to subdomain.domain.com?

    LONGER VERSION:
    I have a lot of mailinglists at domain.com, but since we started using a new webservice all our webtraffic now is being directed to another server through a A-record. Mail and subdomains are still handled at the old server. But, as a result of setting up the A-record, I can no longer access the mailman admin-interface.

    I can change domain.com/mailman/admindb/maillinglist_domain to serverhostdomain.com/mailman/admindb/mailinglist_domain and this way access the admin interface, however when I use the feature "Tend to pending moderator requests" the old link is back resulting in me not being able to release moderated e-mails to the list.

    My solution for this problem is to move all active mailinglists to subdomain.domain.com. That way I can access the admin interface without being redirected to the new webserver. But how do I do it? I have a lot of lists and lots of subscribers and have finetuned the settings so much, that I do not want to start over from scratch again. Any help?

    Best regards
    Patrik
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please try using the following command:

    Code:
    /usr/local/cpanel/3rdparty/mailman/bin/withlist -l -r fix_url -a subdomain.domain.com -v
    Note that if this works well, you will need to add it to the /scripts/postupcp file to ensure it runs after each cPanel update.

    Thank you.
     
Loading...

Share This Page