Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    2

    Default Getting all e-mail accounts on a server

    Hi

    I am wanting to get all the e-mail accounts for all hosting accounts on our server (excluding things like aliases etc.)

    Is this possible through a script, or is there a file with a list of all accounts somewhere? I don't want to manually go into each account and look at the e-mail account settings...

    Thanks

  2. #2
    Member
    Join Date
    May 2004
    Location
    USA
    Posts
    406
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Easy! This will list all main accounts, and all email accounts underneath each one...

    ls /home/*/mail/*.*/

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    2

    Default

    hmmm, now why didn't i think of that

    Thanks, thats pretty much what i was looking for...

  4. #4
    Member
    Join Date
    Apr 2005
    Location
    Pakistan
    Posts
    16

    Post Where to write

    Where to write this command: /home/*/mail/*.*/

Similar Threads & Tags
Similar threads

  1. How?: Mail accounts on server AND Google Apps
    By peterallcdn in forum E-mail Discussions
    Replies: 3
    Last Post: 06-29-2010, 12:44 AM
  2. Accounts moved to new server cant retreive mail
    By 4u123 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-16-2007, 07:51 AM
  3. cpanel mail server only sending to web accounts? [moved]
    By chrispol in forum New User Questions
    Replies: 1
    Last Post: 10-18-2005, 09:50 AM
  4. Transfer of mail accounts from one cpanel server to another
    By chrisj in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-09-2004, 09:22 AM
  5. Replies: 3
    Last Post: 10-07-2003, 08:02 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube