How to check how many users are using Horde webmail?

Operating System & Version
Linux
cPanel & WHM Version
106.0.4

CloakVision

Registered
Sep 19, 2022
1
0
1
Plovdiv
cPanel Access Level
Root Administrator
Hello guys. I have a question. Since Horde support will be removed in the new version 108, I would like to know if there's any method that I can check how many of my users or domains are using Horde webmail service so I can inform them about moving to Roundcube.
Can I run a command line or grep in the logs something. In this case I will need something handy so I can check even logs from month ago or so..

Thank you in advance!
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
11,638
1,847
363
cPanel Access Level
Root Administrator
Hey there! I'm not sure if there's a good way to get this information. The closest thing I would have is the Horde login entry that shows up in /usr/local/cpanel/logs/access_log when you first access Horde, which looks like this:

Code:
1.2.3.4 - username%40domain.com [09/19/2022:15:41:17 -0000] "GET /cpsess1151380939/horde/login.php HTTP/1.1" 302 0 "https://4.3.2.1:2096/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0" "s" "-" 2096
You could search that log for the "horde/login.php" string and see the user and domain associated with it to get an idea of who is still using Horde. It won't be pretty, but it should get you the data you need.