ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Get User Count from Dovecot

    IT Discussion
    dovecot email pop imap imap4 linux centos rhel unix fedora
    1
    1
    564
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Odd one, but if you need to know how many user mailboxes exist on a standard DoveCot server (tested on CentOS 7), try this...

      for i in $(ls /var/vmail); do ls $i | wc -l; done | paste -sd+ - | bc
      
      1 Reply Last reply Reply Quote 2
      • 1 / 1
      • First post
        Last post