Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member psw1's Avatar
    Join Date
    Apr 2002
    Posts
    29

    Lightbulb Email Account list

    I have had several resellers ask for two things...

    1) A printable Email Account list by Domain

    2) A printable account/domain list by owner/reseller

    Anyone got any simple ideas on this?

    Thanks in advance!


  2. #2
    Member gsbe's Avatar
    Join Date
    Jul 2003
    Location
    Nashville, TN
    Posts
    39

    Default re: Email Account list

    I'm also interested in utilizing a list like this...is it possible?

    cPanel.net Support Ticket Number:

  3. #3
    Member gsbe's Avatar
    Join Date
    Jul 2003
    Location
    Nashville, TN
    Posts
    39

    Default

    Again, anyone know of a way to list all email accounts on the server by domain?

    Thanks.

    cPanel.net Support Ticket Number:

  4. #4
    Member
    Join Date
    Jun 2003
    Posts
    396

    Default get email accounts

    Here is a shell I use. Execute as root.

    # get the emails accounts for each domain

    cd /home
    for i in `ls`
    do
    DOM=`grep $i /var/named/* | grep Zone | awk '{print $5}'`
    if [ $DOM ]
    then
    echo Domain: $DOM
    cd /home/$i/mail
    find . -type d -maxdepth 1 -exec ls -ld {} \;| awk -F"./" '{print $2}'
    echo "-----------------------------------------------"
    fi
    done
    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
    -Albert

  5. #5
    Member gsbe's Avatar
    Join Date
    Jul 2003
    Location
    Nashville, TN
    Posts
    39

    Default script help

    I'm unable to get this script to work correctly on my server. Is anyone else using this script with the proper results?

    Thanks for your help...

    cPanel.net Support Ticket Number:

  6. #6
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: script help

    Originally posted by gsbe
    I'm unable to get this script to work correctly on my server. Is anyone else using this script with the proper results?

    Thanks for your help...

    cPanel.net Support Ticket Number:
    The same script is working perfect for me. It displayed all the email ids for each domain.

    Thx asmithjr.

    cPanel.net Support Ticket Number:
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  7. #7
    Member
    Join Date
    Jul 2002
    Posts
    336

    Question Complete list of email id's on the server !!!

    Guys !!!

    Sorry to bump this old thread, but i had a very similar request but with a twist.

    I need to find out the total number of email id's on the server for all the domains hosted on a server.

    Can any one assist me here ?

    Thank you

Similar Threads & Tags
Similar threads

  1. Email Account List Too Long
    By BoZz in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-19-2007, 08:47 AM
  2. Main >> Account Information >> List Accounts >> Change Contact Email
    By OneSizeFitsAll in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-19-2005, 05:22 PM
  3. Problem adding account .. doesn't list account after transfer.
    By jaanhost in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-31-2004, 05:27 AM
  4. How to kill an account that isn\'t in the list accounts list
    By Domenico in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 09-29-2001, 12:07 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube