Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jul 2002
    Location
    Atlanta, GA
    Posts
    646

    Exclamation AddOn Domain email accounts hosed after suspension

    We recently had a customer that was suspended. After reactivating the account, none of their add-on domain's email accounts were working. They found that if they went into their cPanel and forced a change to the password (using the same one as before) for the accounts, everything worked fine, which was quite odd.

    It appears that the suspension/unsuspension script is hosing up the shadow file for the add-on domain during reactivation. To run a test, we restored the shadow file from last night's backup and all of the accounts failing stated working just fine again. The only difference between the two files is that the restored version had a series of 7 semi-colons (":::::::") at the end of each line. For some reason it appears cPanel is stripping those out on the unsuspension and it is causing the issue.

    Has anyone else seen this problem?

  2. #2
    Member
    Join Date
    Sep 2002
    Posts
    9

    Default

    I've been having that problem as well (9.3.0-RELEASE 5)! I hadn't noticed it was because of the missing semicolons from shadow, thanks! The following shell code should patch that for you real quick:

    Code:
    find /home/USER/etc -name shadow | xargs grep -L ::::::: | xargs perl -pi -e 's/\n/:::::::\n/g'
    (where USER is the account name). Let's hope it's fixed soon.

    -Dario

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 01-09-2010, 02:33 AM
  2. Webmail Login Attempt Failed! on addon domain email accounts
    By nishkrant in forum E-mail Discussions
    Replies: 1
    Last Post: 11-11-2009, 10:24 PM
  3. Replies: 2
    Last Post: 11-13-2008, 01:39 AM
  4. Email accounts for addon domain?
    By fishfreek in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-15-2004, 05:19 PM
  5. Zone files hosed on new accounts
    By superiorhost in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-06-2002, 10:32 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube