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

hicom

Well-Known Member
May 23, 2003
296
7
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.
 
  • Like
Reactions: John Schmerold