October 26th, 2005
Goodbye SquirrelMail, Hello RoundCube
My host, Dreamhost, comes bundled with IMAP email (which is great btw. Mike explains the benefits much better than I could). SquirrelMail is Dreamhost’s webmail client of choice.
For a while now, SquirrelMail has been bugging me. Now don’t get me wrong, SquirrelMail is has some great features: It’s stable, feature-packed, fairly configurable but BY GOD it’s been beaten with the ugly stick.
Before you send me a torrent of email — yes, I know it’s configurable BUT not it seems with Dreamhost without a load of faffing around with ssh etc. Something which I don’t really fancy getting into.
I mostly use SquirrelMail whilst I’m at work because of the brick, er, firewalls won’t allow IMAP access at all. Pesky proxy servers don’t help either. Anyway, after speaking to some of my esteemed colleagues, I’m directed to an alternative to the ugly SquirrelMail.
RoundCube is a PHP/MySQL based webmail system, which is opensource and rammed full of AJAX goodness. It’s still officially an alpha release, but shows a LOT of promise. Here’s the opening line from the RoundCube website…
RoundCube Webmail is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality you expect from an e-mail client, including MIME support, address book, folder manipulation and message filters. RoundCube Webmail is written in PHP and requires the MySQL database. The user interface is fully skinnable using XHTML and CSS 2.
As you can see, it’s pretty well stocked with features already, some of which really appeal (like skinnable XHTML and CSS for example). Not only is it already feature packed but it looks great. There’s some great icons designed by Stephen Horlander and Kevin Gerich for Mozilla.org, a great looking ‘mac-like’ UI and it’s all very simple looking. I’m hoping, as more features are added, that this doesn’t change.
There are some features it needs though, and soon. Signatures is the biggest request I have. There’s also a strange icon for sending email, but as this application is skinnable, that’s not really too much of a problem.
So, I’ve only been using it for a day, but so far so good.
Wow, just wow! Aqua looks + XHTML/CSS design. I will be keeping a close eye on this one! Cheers for the tip Mark.
I’ve also been using this for a couple of weeks now, and it is one of the best webmail clients I’ve used. I’m also anxiously awaiting signatures, as well as the message filters.
Now..to get all of my old email transferred over to IMAP from my local machine…
I just installed it as well and am quite impressed for an “alpha” release. One thing I am hoping for is some spam filtering… and message filters — THAT would be the icing on the cake.
And the icons by Stephen Horlander and Kevin Gerich are great!
Found roundcube a couple of weeks ago and was thouroughly impressed. I’ve already installed it everywhere I could. Be sure and post your vote to have it replace Squirrel in the Dreamhost “Suggestions”
If I hear the phrase “AJAX goodness” one more time I’m gonna… ;)
Thnx for this pointer tough. :)
Okay, RoundCube seems worth a look, but Dreamhost sounds truly amazing!!! I’m paying $20/month for a measly 100 MB of storage with my webhost; I had no idea I could get nearly 5 gigs for $8/month. I’m gonna switch!!!
Finally. I have been looking on-and-off for an alternative to SquirrelMail for quite some time now (ever since I first set eyes upon it actually I suppose) as, I feel, its lack of visual appeal makes really makes it unpleasant to use — even if it is packed with features. I would rather have a good, stable, clean webmail system that is simple and with just the really necessary features. Thanks for pointing this out. Keep up the good work. Galen
Mmm… Definitely going to check this one out! Much more pleasing on the eyes than any other web-based email apps I’ve used.
Well. I’ve successfully installed it and given it a quick test-run and am stoked with my first impressions. Needless to say there are plenty of things I’d like to see it do but I will definitely use it now instead of SquirrelMail when I am away from my computer on the road.…
I don’t really like Squirel Mail either, and I want to switch. But I am stupid! Is there any information on how to install it anywhere?
I am using Dreamhost aswell and am very impressed.
Well spotted Mark! I’d love to have a play with RoundCube — have you any notes on how you installed it?
SquirrelMail does me fine when I’m out of the house, but I still use the trusty Outlook when I’m back at base.
Brad — yeah, Dreamhost are generally excellent. Recently (a few weeks ago) I was in mid change over to MT (part of a 9rules deal thing). Anyway, it turns out MT offer nowhere near the amount of functionality as Dreamhost. Oh, if you sign up with them dont forget who referred you ;-)
Gerard — Installation was incredibly easy. I created a subdomain, then chucked all the files in there. Created a MySQL database and chucked all the SQL stuff into that. That was it! Got into work this morning to discover session problems (the app logged me out every time it refreshed), so I changed the ‘remember client IP’ thing to FALSE and it now works perfectly. I’ll be keeping a close eye out for new releases…
Ah! I’m working on forsaking SquirrelMail for Roundcube even as we speak!
You’re a better man than I for pointing out Squirrelmail’s strong points. If Squirrelmail were a guy, I’d challenge him to a fight.
In the INSTALL readme it says RoundCube needs a user/db as RoundCube. I’m also with Dreamhost and this user/db is taken. Were you able to instead assign a different name for both and it worked fine?
Hey Geoff: I am with Dreamhost with the L1 plan. I used a different db, and then reconfigured the db.inc.php file to suit my preferences… but I have yet to get it to work.
I get an error saying, “DB Error: insufficient permissions.”
I don’t know what to do from here.
If you get it working feel free to contact me from http://esenkay.com/index.php?contact
Geoff — As Crano, I used a different db and then reconfigured the db.inc.php accordingly.
Crano — I’m not sure what your problem could be there. Strange DB permissions. I didn’t get any of those kind of errors, just session errors with the dodgy proxies in work. IF you manage to get it sorted, let me know though as you never know, this error could crop up with me.
I’m more intruiged to find out what you (Mark) does at the beeb?
I’m a senior designer working in the New Media dept. in BBC Wales. For my sins…
I get this error when atttempting to load the index.php file in the documentroot:
Any ideas? I’m no PHP wiz :)
geof
I found you had to change the index.php:
FROM:
require_once(’include/rcube_shared.inc’);
TO:
require_once(’program/include/rcube_shared.inc’);
Do that for all of the require_once.
You know it is funny after working on something for a while, it doesn;t work, walk away from it and find that there was a simple spelling mistake.
Geof, make sure your files and folders (when uploaded) are readable by the server (i.e. check their permissions). Also make sure you create a MySQL user with the necessary permissions for RoundCube and assign that user (with GRANT or through your MySQL interface) to the RoundCube database for all tables.
GREAT!! Now I get the login screen plus this error: “ Could not connect to rcubemail at port 143: Die Adressfamilie wird von der Protokollfamilie nicht unterst?tzt.”
Any suggestions?
Crano, make sure line 21 of db.inc.php (in the config folder) is set to
Where user, pass, and dbname are replaced by those specified when you added the MySQL database before running RoundCube.
Perhaps you have specified rcubemail instead of localhost?not sure. Hope this helps, though.
Galen: Thank you for the suggestions. I do have the user name and pass in there, and the dbase is running off Dreamhost, so it isn’t local.
I just noticed that my imap server is having some issues. Maybe that is where the problem lies.
Cool, no worries; hope you sort it out.
P.S. Seems to be something funny going on with my tags?they look fine in the Live Preview but break when I submit?strange.
Galen — The problem seems to be the live preview is a bit more forgiving than EE if you add extra spaces in your tags. In your case you had put an extra space in your closing strong tag. If fixed it now.
I just wrote a good installation and tweaking guide for RoundCube here. Please check it out if you are having any installation woes.
That’s awesome Paul! I am still having issues, I will try it your way when I get home later today. :)
Geof (and others with problems with include paths),
If you are running PHP as CGI, roundcube’s attempt to auto-detect its install location fails because it finds the path to the CGI instead of the path to index.php.
In your index.php, change line 48 from:
<strong>$CURRENT_PATH=dirname($_SERVER[’script_FILENAME’]);</strong>
to
$CURRENT_PATH=dirname(__FILE__);
(that should be double-underscores around FILE in the new line. Live preview at least is interpreting them as an <em>)
And now a question for Mr. Boulton (or any other Dreamhosters): I have roundcube installed successfully but I can’t login. Could you share your settings for SMTP authorization, etc? Can you log in using your full email address, or do you need your mailbox login? (the dh-assigned m12345678 abomination)
Yes, you’ve got to log in with the abomination. I can log into the primary account with my dh username — all other accounts use the mailbox login.
It’s also a good idea to check your default identity once you log in. My email address was set to [my_dh_username]@mail.[my_domain]
Gustavus, I retried per your recommendation. No luck. I am getting this error:
I can connect to my mail server from thunderbird just fine on port 143. Any other dreamhosters seeing this error msg?
I use Squirrelmail for one purpose only: to send emails to my travel blog to update it while I’m travelling. Ugly? I really don’t care about how it looks — as long as it works, fast and securely. And it does that.
One of its strong points is the wealth of plugins, many that increase security, such as a virtual keyboard to enter your password and timeout after a configurable period. All of which are important when working at a computer with unknown software (keyloggers? other spyware?) in an internet cafe in some far-away country.
When I hear “Ajax” — I think: won’t work unless with the very latest browsers. Which I can tell you are often not found in an Internet cafe in Asia, for instance. Squirrelmail doesn’t have that problem — it works happily with IE4 on Win98. Its “lack” of AJAX is actually a strong point in these circumstances. The spellchecker plugin, while not a security feature, is quite helpful as well — typing on strange, rickety keyboards with unfamiliar layouts generates a host of typos.
So — while RoundCube may be good for a lot of purposes (and AJAX may actually help), for mine SquirrelMail is best.
Marjolein Katsma — I take your point, but it’s nice to have the option. I still have Squirrelmail for when I’m in the middle of the jungle and just a 386 with IE 2 to post on, but I also have RoundCube for checking my email at work (which, if you read the post, is why I installed it in the first place)
;-)
Paul Stamatiou — Nice article Paul
The words ”…but BY GOD it’s been beaten with the ugly stick.” lol… so true so true… this email system looks sleek and sexy.
I am hitting the same wall as Josh, i.e.
IMAP Error in (): Could not connect to <mymailserver.com> at port 143: Connection refused
(where mymailserver.com = my IMAP server)
Can anyone shed any light on this? I have tried entering both the FQDN and IP of my mail server, and have also tried using dropboxes for different servers, all with the same result — the above error.
The IMAP server is active and contactable, I can telnet straight in from the machine running roundcube.
I can’t wait to get Roundcube up and running, but at this point I must be PHP-challenged or have something gorky going on with my installation. I’ve tried all the remedies listed above for index.php and still see:
Fatal error: Failed opening required ‘include/rcube_shared.inc’ (include_path=’./PATH_SEPARATOR/var/www/roundcube/programPATH_SEPARATOR/var/www/roundcube/program/libPATH_SEPARATOR.:/usr/share/pear’) in /var/www/roundcube/index.php on line 67
“PATH_SEPARATOR” sure seems suspicious. However,http://www.hookturns.com/setting-up-roundcube-on-dreamhost/ mentions a fix for a similar problem on Step 6 and that var name is unchanged. (That fix didn’t work either, dangit.)
I’d be grateful to hear from anyone who’s got my issue pegged.
Ok, so people who still are having problems with the imap 143 error. If you’re with dreamhost try this:
username: the “m.…. “ one without the “@yourhost.com”
password: your pass (obviously)
server: mail.yourhost.com
this worked for me anyway.
Yeah, roj, I can confirm that those settings worked for me yesterday WRT dreamhost/port 143. I had wiped and reinstalled my roundcube install, so any other configuration tweaks that I might have made were also undone. So a cleanish install and roj’s settings should work.
Unfortunately my work has turned off the XMLHttpRequest function (which I knew before installing this — no nice googleness) but I didn’t realise it would render roundcube completely unusable…possibly they’ve just disabled other javascript, though some stuff works.
I can get in and see the email list but no links work.
oh well. Just so you know before installing it.
Roj: Doesn’t this mean that Roundcube isn’t actually using AJAX?
AJAX means ‘asynchronous’ which, in the best possible environment would be degradable. If it’s not degradable javascriptfunctionality (xmlhttprequest or not) then is it really AJAX?
Answers?
Just want to mention that RoundCube now support’s PostgreSQL :-)
Thanks for the pointer. The demo looked really neat for a webmail script.
Another Dreamhost customer here. I can recommend them, they’re great! :)
RoundCube is the nicest webmail I’ve ever used. Once it has the planned GPG encryption support I’ll definitely use it instead of Thunderbird/Enigmail.
By the way, Dreamhost users can <a href=“https://panel.dreamhost.com/?tree=home.sugg&category=Mail — Webmail”>vote</a> for RoundCube to replace squirrelmail.
You might want to take a look at Hula. I haven’t played with it, but anecdotal evidence is AJAX-y goodness, iCal integration, and it has the backing of Novell.
Hi all!
I tried out Roundcube the other day, and it’s looking good, but I have a huge problem.
I can log in okay, and it gets the mails from my IMAP server (Kerio 6.1.2) but next to each folder it contains the number of mails and all the folders are in bold text.
I’m not sure if this is a design feature but it makes you believe you have, say, 8 unread e-Mails in a folder whereas they are actually mails already read.
Any ideas?
unfortunatly i dont have a email server installed… as my webserver is hosted from home :p I have however installed it, now all i need is a small mail server to test it on