Hacker News new | ask | show | jobs
by mike-cardwell 3356 days ago
Not sure what you mean by "there was never any sort of search features or mail filtering features that became standardized for IMAP servers."

Search is built into the IMAP protocol. [1]

Filtering doesn't belong at the IMAP protocol layer anymore than it belongs at the SMTP layer. That said, "Sieve" is really powerful, and there are many SMTP and IMAP servers which support it.

[1] https://tools.ietf.org/html/rfc3501#section-6.4.4

1 comments

ok, 'search that does not suck' isn't a feature of IMAP.

> Filtering doesn't belong at the IMAP protocol layer anymore than it belongs at the SMTP layer.

Right, so users are forced to set up this stuff for each and every device they have. This is a big reason why the exodus to webmail and the proprietary internal-only protocols they use.

Seive is really powerful and I've used it plenty of times, but it's not standard and is something that needs to be done completely separate from almost all email clients. Unless you are a big email nerd that runs your own servers it's pretty much worthless.

> Sieve is really powerful and I've used it plenty of times, but it's not standard

It is, actually. https://wiki.tools.ietf.org/html/rfc5804

> something that needs to be done completely separate from almost all email clients.

In that it is not part of IMAP, yes. However, webmail clients like Roundcube and desktop clients like Thunderbird and Claws/Sylpheed all offer plugins.

What sucks about IMAP search? I linked to the protocol in my previous comment. It's pretty damn comprehensive in what it offers...

You can get desktop and web based and command line clients which talk the ManageSieve protocol so provide you with an interface to manage your server based sieve mail filters [1]

I'll agree that it's not common. Not because there is anything wrong with it, but because companies like Google decided to roll their own for whatever reason.

[1] http://sieve.info/clients

IMAP Search support only ASCII and you cannot search non-English content. There is an extension for utf-8, but Some of the major emails services as Outlook/Ofiice365 doesn't support it. Also, you can search only a particular folder instead entire mailbox.
Fair points. I guess I've never had to search for non-ASCII text. Hopefully the UTF-8 extension will gain support over time.

I can see use cases for needing to search across multiple folders. I guess I've not felt the need to do that myself before. However, no reason your IMAP client couldn't search folders one after the other, or open multiple connections and search multiple folders simultaneously.