Roundcube Webmail 1.0.0 released
roundcube.net
roundcube.net
About 8 years ago, I was singularly managing my company's email. When I was hired, they had been using an awful php based mail system. My first major upgrade was to start using Roundcube. This was a very, very early version and one of the first open source mail projects to offer 'ajax' functionality.
When Gmail for business became available, we migrated to that, but for a while Roundcube was the best web interface for email there was to be found.
Sadly I haven't kept up with the project over the years, but my early memories still serve me well and I hope that the project has gotten much better over the years.
It has! They have made some significant improvements. There recently was a huge effort to separate the RC core code -- all of the stuff that talks to imap -- from the rest of the interface, so now people can easily build RC clones.
Also, relatively recently, they reworked their skinning system and got a new design professionally made ("Larry", now the default). You can get Roundcube skins for people who like Outlook, or want better mobile support, etc.
And if you've got managesieve installed, you can make your email do tricks that Gmail can't.
Would you care to expand on that part? I know what managesieve does, but I thought gmail also had filtering capabilities.
Gmail also gives you a useful but limited set of actions for matching messages: archival, applying labels, starring, marking as read, forwarding, deleting. managesieve gives you a lot more options, and possibly one of the nicer ones is the ability to auto-reply to specific messages with a specific other message. My managesieve prefs currently has, "Move message to", "Copy message to", "Redirect message to", "Send message copy to", "Discard with message", "Reply with messsage", "Delete", "Set flags", "Add flags", "Remove flags", "Send notification", etc.
Filters was for me the killer feature that moved me from Gmail to Roundcube years ago.
But a simpler, easier-to-use filter system would be nice.
I eventually decided that hosting my own email wasn't for me, but would certainly encourage any company or organization with a bit of sysadmin resources to take a close look.
Yeah, there can be a couple causes for this. Sometimes it's the skin being used. Some Roundcube skins are quite a bit faster than the default; you might check with your ISP to see if they support additional Roundcube skins. (They are very easy to install, and users can select an RC skin from their settings panel.)
> ...and searching for specific emails doesn't work very well.
There should be a tiny dropdown arrow next to the magnifying glass icon in the search box. (This is not great UI.) Click that, and you should get a menu like the following:
Subject, From, To, Cc, Bcc, Body, Entire Message.
Make sure Entire Message is selected. It's not by default. RC will remember your setting for each folder. This will make your searches slow on folders with lots of messages, but it improves the search results quite a lot.
But! You can do pretty well at it, too, if you feel like putting in the effort. I host email for some clients, and most of my sysadmin time these days is spent dealing with spam in some fashion or another.
1. Greylisting. Greylisting is fantastic, and the package you're looking for here is sqlgrey. It's easy to use and admin and it has sensible defaults. You can pretty much just drop it in and immediately get an 80% reduction in spam.
2. Use the right MTA stack: currently I think that's Postfix and Dovecot. Postfix and Dovecot go together like ice cream and apple pie. Postfix is far easier to admin and configure than Sendmail, and Dovecot has good support for managesieve, which'll be important in a moment.
3. Install SpamAssassin and AMaViS. Getting it working correctly with Postfix in a multi-domain environment, so that each user can have their own SA settings, is a little bit tricky, but totally worth it. AMaViS by default wants to manage SA's settings. Don't let it.
4. Install the managesieve, password, and sauserprefs plugins. Now you can change your email password, your filters, and your SpamAssassin preferences right from the webmail interface.
5. Configure SpamAssassin to label messages "[SPAM]" (it also sets the X-Spam-Flag header) on junk messages, and then set up a default filter in managesieve to redirect those things to Junk folder. Bam, no missing emails, no cluttered inbox. Use imap on your favorite devices.
6. A couple of extras, like Fail2Ban, will help too. You can modify Fail2Ban to watch your mail.log for frequent attempts at nonexistent user accounts and then iptables those spammers.
As with most things, you can spend as much additional time as you'd like fine tuning this, writing some custom software, and so on. But, the above will get you about 98% of the way to Gmail's level of spam filtering in about a day's worth of work.
Direct strangers to reach to you via Twitter.
No other filtering is applied, no greylisting, no country blocks (I need to be able to communicate with people all over the world), no fail2ban, no nothin'. By keeping the filtering concentrated in one spot I avoid the trap of turning the mail system into a Rube Goldberg machine loaded with unintended consequences.
On average, one or two spammy messages make it through the portcullis per day. I simply dump them in the 'SPAM-it' folder and forget about them. False positives are exceedingly rare, fortunately. On the whole I consider my mail setup to be functional and above all manageable.
Everything needed to implement this is available in Debian. There is a handy Sieve editor available as a plugin to the Roundcube web mail client for those who like to click pretty boxes instead of writing filter scripts.
* don't accept mail for non-existing recipient adresses
* don't accept mail where the sender domain is one of my domains, except when whitelisted manually
* don't accept mail from hosts on the NiXSpam list[1] (unlike some others, NixSpam has pretty reasonable policies with automatic delisting after 12 hours)
These three rules together work pretty well, I get only a handful false negatives every day, and virtually no false positives, even though I publish my real mail address on many places in the web, and even used it in usenet, back in the days.
Next step would be using SpamAssassin, but [2].
[1] http://www.heise.de/ix/NiX-Spam-DNSBL-and-blacklist-for-down...
If I remember correctly they are pretty trigger happy with honeypot email addresses that are pretty easy to find on the internet.
All your competition needs to do is register to your service using the honeypot email addresses and your legitimate email server/domain will be blacklisted on hosts that check NIXSpam.
I'm thinking about turning on greylisting as well, but right now its not needed.
> "The skins use the latest web standards such as XHTML and CSS 2."
Here's a list of CVEs for cPanel from 2010 back: http://www.cvedetails.com/vulnerability-list/vendor_id-1766/...
andalso: http://www.exploit-db.com/search/?action=search&filter_page=...
I dunno why those lists both stop at around 2010. cPanel is still being actively compromised: http://www.webhostingtalk.com/showthread.php?t=1267400
There's a fair chance that cPanel is the hole that regularly gives heartburn to some providers, like GoDaddy. For example, http://blog.sucuri.net/2011/09/godaddy-shared-servers-compro...
cPanel is popular, and it solves a lot of problems for a lot of people. Because it's so common, people who don't otherwise know their way around web hosting can feel right at home when using cPanel. I don't have some kind of irrational, hipster-esque or elitist hatred for it; I simply think that I can't in good conscience install it and knowingly put my hosting customers at risk.
But sure, for the most savvy of devs and ops people, cPanel hosts may not be the right setup.
Do better than I did, give them little money and take your time before you expect them to be the right company.
1: Just replied in a different thread, incident is fresh: https://news.ycombinator.com/item?id=7557887
That and the idea of one inbox and no folders. The concept of letting your mail flow into one box and not "filing" it was also a big change from the existing mindset.