Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Nov 2003
    Posts
    12

    Default Server Account Transfers and Mailman

    I've just switched servers and used the multiple account transfer feature of WHM (both servers were running identical versions of WHM/cPanel [10.2.0-RELEASE 82] and apache [1.3.33]). Everything transferred over perfectly except for some minor glitches.

    One problem I'm having is one of my users who is using Mailman is seeing all of his "EDIT" links in cPanel->Mail->Mailing Lists as "http://mail.server1.myhostname.net/..." rather than "http://mail.hishostname.com/...". ("server1.myhostname.net" is the name of my server.)

    How do I restore his Mailman configuration so the links are correct? I can manually enter the URL to get to his editting pages, but again the links on that page are pointing to 'myhostname'.

    The list data and message boxes do appear in "/usr/local/cpanel/3rdparty/mailman/archives/", and the config files are in "/usr/local/cpanel/3rdparty/mailman/lists/".

    So it seems all the data has been moved, but the hostname was not restored for his lists.

    How do I reset his Mailman hostname?

  2. #2
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    try at shell as root :

    /scripts/resetmailmanurls

    might help.

  3. #3
    Member
    Join Date
    Nov 2003
    Posts
    12

    Default

    Thanks! That worked after fixing a bug in that script. The following is incorrect in the script...

    Code:
       if (!$haspatch) {
    [line 36]

    It should be changed to...

    Code:
       if ($haspatch) {
    The variable haspatch indicates whether suexec is enabled for cpanel. The original code executed the patches for the mailman_suexec scripts if it was NOT enabled, which is WRONG!

    Anyway, after the fix, the mailman administration pages have the correct links now, but the "EDIT" links on the main cPanel list managemanet page at "cPanel->Mail->Mailing Lists" still show the actual server name instead of the domain name.

    Also, how do I configure Mailman to come up with the URL "http://domain.com/mailman"?

    Thanks again for your help, linux-image!

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 05-24-2010, 02:32 AM
  2. Account Transfers
    By m2it in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-05-2006, 03:21 PM
  3. can´t transfers account
    By zfrank in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-01-2006, 01:49 PM
  4. Account Transfers
    By nphase in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-25-2005, 11:59 AM
  5. Account Transfers by Resellers???
    By Snowman30 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-15-2004, 11:34 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube