Help! Capital domain and no mail!

Discussion in 'Installation/Configuration' started by kextra1, Jun 28, 2011.

  1. kextra1

    kextra1 ISPConfig Developer ISPConfig Developer


    A customer signed up through the remoting framework software I've setup and he put the domain starting with a capital letter.

    It is:

    instead of:

    They also did the same for the username/pass for the contol panel user/admin email.

    even though the email is listed [email protected] they won't receive any email because the username starts with a capital letter.

    in addition, when I changed "" to "" the symbolic link in /var/www was erased and www-data:web# has gone to root root.

    Do i do: #ln -s /var/www/ and chgrp chown?

    I need help to get this user to be able to at least use her email address!
  2. kextra1

    kextra1 ISPConfig Developer ISPConfig Developer

    Fixing virtusertable & user/admin


    The remoting framework kind of caused this all btw.

    I did this after changing the capital lettered "" to "" in ispconfig panel, and realizing the symbolic link had changed to the directory as a directory with a logs directory inside.

    rm -Rf

    ln -s /var/www/web144

    I also changed the Co-Domain & webmail to lowercased in Ispconfig 2's panel.

    Now the only problem I need to solve is the web's admin user which was UNAME: Jerlynn

    The ISPconfig login is easy under login data, but changing the Admin user under the "Users & Email" tab is more difficult because they already uploaded and installed a database run CMS.

    I looked in "/etc/postfix/virtusertable" and noticed there is a bunch of extra lines for that user.

    Is it safe to manually edit the "virtusertable" file or will it mess up the virtusertable.db file?

    I'm not really sure how it works or if it would mess up the virtusertable.db so I'm hesitant to delete anything manually.

    The easiest way if this is possible would be to unselect the "Admin" tab on the user or delete that user, and create a new "Admin" web user. Then edit the configuration.php files for the customers CMS.


    However I don't know if deleting the Admin user & email account would delete all of the web's uploaded files from that account via FTP or not?

    Can you delete an admin user/email without losing the files? If so, will the files that exist have to be chmod'd manually?

    The customer is currently unaware of this issue and probably won't be until tomorrow 6/29/11 and I'd GREATLY appreciate any help or advice.

    Thanks for your help!
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    You can edit the virtusertable file manually and then run "postmap /etc/postfix/virtusertable" to recreate the .db file.

    Deleting the admin user will only remove the user itself and its emails but not the website contens in the "web" folder if I remember correctly. But its always better to make a backup with tar of the whole website directory (e.g. tar pcfz /root/web_backup.tar.gz /var/www/www.yourdomain.tld)
    Last edited: Jun 29, 2011

Share This Page