Horde - Where's the ADMIN interface?

craig1972

Member
Apr 3, 2005
15
0
151
HI,

How does one access the admin interface of Horde with a Cpanel/WHM setting?

I tried domain.com:2095/horde/admin/index.php but it shows me the Forbidden message :(

I need to login as my MAIN USER (I am the the hosting provider) and make changes that will encompass all the other registered DOMAINS and their email addresses.

I'm hoping I don't have to edit individuals files in the labyrinthine Horde folders?

CM
 

Blackcat

Member
Sep 13, 2004
15
0
151
*bump*

Any one ? To implement new modules like vacation or forwarders, the admin gui is required.

Any ideas ?
 

webignition

Well-Known Member
Jan 22, 2005
1,876
1
166
Perhaps the Horde admin interface requires you to be logged in as root, which won't be the case when you're logged into cPanel webmail.

You could clumsily workaround it by editing /usr/local/cpanel/base/horde/admin/*.php and changing:

Code:
if (!Auth::isAdmin())
to

Code:
if (!Auth::isAdmin() && $_SERVER['REMOTE_ADDR'] != 'yourIPhere')
If you've got your own static IP and you're the only one using it, you might be OK. Quite insecure though as $_SERVER['REMOTE_ADDR'] can be spoofed.

Plus I haven't a clue what user it would think you are . . .
 

Blackcat

Member
Sep 13, 2004
15
0
151
webignition said:
Perhaps the Horde admin interface requires you to be logged in as root, which won't be the case when you're logged into cPanel webmail.

You could clumsily workaround it by editing /usr/local/cpanel/base/horde/admin/*.php and changing:

Code:
if (!Auth::isAdmin())
to

Code:
if (!Auth::isAdmin() && $_SERVER['REMOTE_ADDR'] != 'yourIPhere')
If you've got your own static IP and you're the only one using it, you might be OK. Quite insecure though as $_SERVER['REMOTE_ADDR'] can be spoofed.

Plus I haven't a clue what user it would think you are . . .
Thanks for the reply. You can authenticate as root with this hack, but the database dosen't know the user root in the next steps. I've submitted a ticket to cpanel, asking them how to implement the modules :

Vaction
Forwarders

to Horde. This 2 modules should be installed on the base installation. A webmail frontend with no vacation and forward functions is, in my eyes, useless.

I will post the reply of cPanel and there suggested solution.
 

dbteq

Member
Aug 24, 2005
8
0
151
I will post the reply of cPanel and there suggested solution.
Any news yet from them? Would love to find out how to enable the admin part of Horde. :)
Thanks!!
 

schwim

Well-Known Member
Aug 2, 2006
213
0
166
Another vote for allowing us to actually administrate the webmail system :D

thanks,
json
 

cpanelinfoseeker

Well-Known Member
Oct 25, 2002
323
3
168
NE Illinois
cPanel Access Level
Root Administrator
By editing:
/usr/local/cpanel/base/horde/config/conf.php

on the line:
$conf['auth']['admins'] = array('Administrator');
edit
$conf['auth']['admins'] = array('Administrator','anotheruser');

Now when I log into horde using the 'anotheruser' account, the Administration link is added, but I have to confess I do not see options for vacation or forwarders in there either.

I do see in cpanel the autoresponder (vacation or out-of-office reply) and forwarders icons, and I make extensive use of the forwarders.

Hope this helps,
Ron
 

dbteq

Member
Aug 24, 2005
8
0
151
By editing:
/usr/local/cpanel/base/horde/config/conf.php

on the line:
$conf['auth']['admins'] = array('Administrator');
edit
$conf['auth']['admins'] = array('Administrator','anotheruser');

Now when I log into horde using the 'anotheruser' account, the Administration link is added, but I have to confess I do not see options for vacation or forwarders in there either.

I do see in cpanel the autoresponder (vacation or out-of-office reply) and forwarders icons, and I make extensive use of the forwarders.

Hope this helps,
Ron
It sure does. I did see that Admin user, but was only able to put a username there, not an email address. I've now managed to add email addresses.

Just for anyone else.. it now looks like:

$conf['auth']['admins'] = array('Administrator','[email protected]',[email protected]);

Works like a treat! Thanks for the tip Ron!:cool:

[EDIT] I do notice that subtabs don't work. Example: open horde using admin user. go to Administration. go to 'Mail (imp), and pick any of the top sub-menu options like 'Message and Spam'.. you will see (at least I do) that nothing happens when clicking the sub-menu options.

I think it's a bug or something like that, as it does show an 'error on page': line 53, Char: 1, Error: 'sections_configform' is null or not an object [/EDIT]
 
Last edited:

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
To my knowledge, the vacation and out-of-office functionality in Horde will do you no good as it doesn't modify anything the cPanel email system looks at, hence enabling them won't accomplish anything.

I know we are considering better integration of such, but at this junction it has a lower priority compared to other items.
 

schwim

Well-Known Member
Aug 2, 2006
213
0
166
Has anyone gotten the secondary tabs working in the admin section? It's pretty useless as it is now ;)

thanks,
json
 

dbteq

Member
Aug 24, 2005
8
0
151
Has anyone gotten the secondary tabs working in the admin section? It's pretty useless as it is now ;)

thanks,
json
I'm affraid not.. still not able to use the secondary tabs either.. would love to, as you're right.. so far enabling the admin doesn't help that much without the subtabs.

If anybody knows it would be great! Thanks!!