Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

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

  1. hicom

    hicom Well-Known Member

    Joined:
    May 23, 2003
    Messages:
    282
    Likes Received:
    2
    Trophy Points:
    168
    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.
     
    John Schmerold likes this.
  2. mahinder

    mahinder Well-Known Member

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice