streigh

Active Member
Dec 5, 2006
32
0
156
LOL I copied this over and unfortunately receive an onslaught of error messages when clicking Horde from the webmail screen in cPanel.

I installed it with no problems


I will be updating the how-to for my fixes soon - stay tuned
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
wow, that works great! Is this going to be in any future releases of cpanel? I hope so cuz everytime you upgrade cpanel, you'll have to apply this login.php to horde.
You can customize Horde right now, which means your changes will be saved after an update. If you have a /var/cpanel/horde/overlay.3.1.3.tar.gz file, it will be unpacked over our install after the horde update.

I want to take another couple spins with the login.php replacement and then recommend it to the powers that be for inclusion.

One more step to better integration :D

In case anyone cares, as I have time I'm working on the following:

1. Integrate SA/Boxtrapper with Horde interface
2. Make calendar reminders work and enabled by default
3. Have user data deleted from Horde database when an account is removed
4. Integrate the webmail functions (forwarding, aging, etc) with Horde

Once Horde is done, I'll move on the Squirrelmail. The problem is getting time to do this :) (meaning, time beyond my normal tasks)

Any specific problems you encounter with my replacement login.php script, feel free to post here in detail. Especially anyone accessing it with a PDA/Cell Phone. I haven't tested that yet.
 

kemis

Well-Known Member
Feb 17, 2005
104
0
166
Austin, TX
cPanel Access Level
Reseller Owner
3. Have user data deleted from Horde database when an account is removed
This would be fantastic! I took a peek under the Horde DB's hood & couldn't figure it out. I didn't understand why each user couldn't just have their own set of info that could be easily imported/deleted. It's all jumbled together, which sucks when you're moving accounts from one server to another or just wanting to backup/restore a single account's Horde settings. Anything you can do to help this process would be greatly appreciated!

Especially anyone accessing it with a PDA/Cell Phone.
I never thought to try this on a cell phone, but since I happened to be reading your response while on my cell phone, I decided to give it a whack. The first time I logged in, I got a simple text page that said something like "Welcome back, [email protected]!" and nothing else. So, I backed out & tried it again. Seemed to work great after that. Could've just been a provider glitch. Horde definitely isn't setup for PDA use (and runs dog slow), but I was able to navigate fairly well after bumping my text size down a bit. One interesting note was that there was no way to "Logoff" as the left sidebar was not present. No biggie, though.

If you have a /var/cpanel/horde/overlay.3.1.3.tar.gz file, it will be unpacked over our install
Where's a good place to start for documentation on this file & how it works?

Thanks for all your help, Kenneth!! It's so awesome to have someone finally give Horde some TLC. It's a good Webmail app, but there's a lot to be desired still.

THANKS!
Matt
 
Last edited:

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
Thanks for that feedback Matt.

I don't have documentation for the overlay file. I'm assuming that one creates a directory structure similar to Horde's, place your files in the appropriate place and tarball it. I haven't done it myself, thus I'm just guessing. The only documentation I have on it is the updatehorde shell script :D

The database stuff is rather easy (for me anyway). What is difficult is the coding, because the only documentation available are the mailing lists and source code (including the generated API). Hence, I'm spending a lot my time with research and trial-and-error development.

With reminders, I find that it does everything except actually send the email. The reminders is a script in /usr/local/cpanel/base/horde/kronolith/scripts/reminders.php It's part of kronolith. I'm hoping to figure it out this coming week since I found a simple way to debug it.

Once my current Horde TODO list is done, and hopefully integrated :)D), I also want to rework our updatehorde script to make it operate a little saner in some respects. That may get pushed even further out though, depending upon task assignment.

Anyway, continue with the feedback. And feel free to make suggestions.
 

sivadc

Active Member
Dec 10, 2003
30
0
156
Hi Kenneth,

Just wondering how the Horde todo list is progressing. Really looking forward to trying this once it is a bit more stable.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
Hi Kenneth,

Just wondering how the Horde todo list is progressing. Really looking forward to trying this once it is a bit more stable.
Not very well, due to lack of time. I'm currently testing RHEL 5, EDGE and preparing three presentations for this springs cPanel seminar. I chip away at it as I have a free moment.
 

zippohosting

Active Member
Apr 21, 2007
30
0
156
Going Straight To Webmail

I have read this entire thread - but I am more confused - because there were so many pieces...

Can you please break it down to the exact things that need to be done to login to Horde email directly.

1. Horde is the only webmail program that we use - so that is the only one that appears.
2. We would like someone to go to www.domain.com/webmail and login 1 time and straight to their inbox (email)

Can you please post the exact fix for that - this was a long confusing thread :( - sorry

Thank you
 
Last edited:

kemis

Well-Known Member
Feb 17, 2005
104
0
166
Austin, TX
cPanel Access Level
Reseller Owner
Zippo,

I don't want to duplicate info, but I also don't like cross-posting or creating more confusion by going back & forth between two different threads of the same nature.

Since I've already written up a guide to do all that's discussed here in a different thread, though, I think it would be most wise at this point to simply refer you (and anyone else) to the following thread/post:

http://forums.cpanel.net/showpost.php?p=301594&postcount=4

I would imagine any questions/comments about my instructions can/should be kept in that thread unless anyone else has a better idea.

Good luck!
Matt
 
Last edited:

touma

Member
Apr 13, 2004
22
0
151
São Paulo - Brasil
Another approach

Hi guys,

I was trying to figure out how was this script done. I couldn't! hahahaha

I tried a different approach to bypass the lang screen. What I did was:

1) on /usr/local/cpanel/base/horde/config, opened prefs.php and changed the $_prefs['language'] array to my desired language and changed 'locked' to true.

2) after this, on /usr/local/cpanel/base/horde/templates/login, opened login.inc and inserted a line correspondent to the submit (Log In) button at the end of the page - javascript function "submit_login();"

That's it. Like I have selected the language and clicked the button. :)
 

kemis

Well-Known Member
Feb 17, 2005
104
0
166
Austin, TX
cPanel Access Level
Reseller Owner
Very nice, touma!

What I need to know is this: Has any of this discussion changed for cPanel 11? What version of Horde does cP 11 use? The same, or did they finally update it?

Either way, I will probably need to go in and re-apply my changes after the cP 11 upgrade, right? Would the login.php file supplied by cpanelkenneth work for the new Horde as well, or is the Horde version in cP 11 different enough to not want to use cpanelkenneth's login.php file?

Matt
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
Very nice, touma!

What I need to know is this: Has any of this discussion changed for cPanel 11? What version of Horde does cP 11 use? The same, or did they finally update it?
The version of Horde used is not dependent (to a degree) upon the version of cPanel you are running. The first releases of cPanel 11 still used the same version of Horde that was current in cPanel 10. I *think* we have upgraded since.

Either way, I will probably need to go in and re-apply my changes after the cP 11 upgrade, right? Would the login.php file supplied by cpanelkenneth work for the new Horde as well, or is the Horde version in cP 11 different enough to not want to use cpanelkenneth's login.php file?
Matt
I'm using the login script on my test servers, all running cPanel 11.
 

zippohosting

Active Member
Apr 21, 2007
30
0
156
This worked great - can we tweak more?

This worked really great - thank you!!!

I was wondering - can we skip the step where it takes you to the HORDE Screen all together and logs them right in to their mail folders.

Now, they log in, get the Horde Screen - "Click Here to Read Email with Horde" and just have them go straight to email??

Thanks



Been rather busy the last few weeks to work on this. Found some time today though. Attached is a replacement file for /usr/local/cpanel/base/horde/login.php

It:

1. Bypasses the silly language drop-down menu
2. Fixes some of the language problems that garble the display

One problem I've noted so far:

Sometimes Horde has problems logging into the IMAP server, or even connecting, in those cases you will still revieve the page with the language drop down. To resolve this will require some rewrite/rethinking of this login script. If your left bar menu appears fine, but the main part of the page displays the language drop down, simply select something from the left bar menu. You are actually logged in, it's simply some oddity with Horde/IMAP.
 

webstyler

Well-Known Member
Nov 20, 2003
486
4
168
Hello, I have used for more week login.php that cpanelkenneth have post here

Now, after cpanel/horde update, original login.php is been restored.. there is anyway to solve this ?

The file login.php still to be secure with last horde security update ?

Thanks
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
Hello, I have used for more week login.php that cpanelkenneth have post here

Now, after cpanel/horde update, original login.php is been restored.. there is anyway to solve this ?
The file /usr/local/cpanel/src/3rdparty/gpl/README-horde explains how to preserve custom changes to horde across updates.


The file login.php still to be secure with last horde security update ?

Thanks
The Horde security problems did not impact login.php, so it's as 'safe' as it always was.