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.

HOW-TO: Fix MailMan URL after a transfer or change of hostname

Discussion in 'E-mail Discussions' started by hicom, Feb 12, 2009.

  1. hicom

    hicom Well-Known Member

    Joined:
    May 23, 2003
    Messages:
    272
    Likes Received:
    0
    Trophy Points:
    16
    I found this problem with cPanel 11.24 latest stable.

    When a site is moved or transferred from one server to another, the links on the mailing list page remains pointed to the old server.

    Ex: old server was http://host.domain.com/mailman/admin/list_name

    New server is
    http://host2.domain.com/mailman/admin/list_name

    When accessing the admin section of the list, it will always point to the host.domain.com instead of host2.domain.com

    To fix this problem, run this command from /usr/local/cpanel/3rdparty/mailman/bin :

    Code:
    ./withlist -l -r fix_url list_name --urlhost=host2.domain.com
    
    Where host2.domain.com is the new default FQDN.

    Hope this saves someone alot of trouble.

    T.
     
  2. mahinder

    mahinder Well-Known Member

    Joined:
    Jun 12, 2003
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    matrix
    thank you it saved me tons of headache.
     
Loading...

Share This Page