News for hackers. Stuff that matters.
Re:Nylas N1 – extensible open-source mail client by natrius on Monday October 05, 2015 @01:33PM (#10333350)
Google has all my data, and that allows them to build incredible features for me, like Google Now and Inbox's automatic parsing of travel and event emails.

I'd rather have all my data myself so I could pick great features from anyone who makes them. Nylas sounds like a part of the puzzle to make that happen. I wish you guys the best of luck.

Re:Nylas N1 – extensible open-source mail client by drdaeman on Monday October 05, 2015 @01:52PM (#10333494)
If you want to have your data yourself, self-hosted mail system is a way to go.

In terms of privacy, the experience is good. I must warn, though, it's quite unpleasant in terms of dancing pigs and bunnies[1]. You won't get anything fancy. The age of protocol development had passed long ago and mail protocols (IMAP) aren't evolving anymore. Almost all the modern stuff is proprietary to services and their APIs and clients.

This limitation doesn't apply to mail filtering and automated parsing, though. Mail filters and processing for self-hosted email is way more powerful one can normally get with third-party services.

[1] https://en.wikipedia.org/wiki/Dancing_pigs

Re:Nylas N1 – extensible open-source mail client by 9248 on Monday October 05, 2015 @03:57PM (#10334427)
What do you mean by mail filters and processing? Is there anything fun I can get, may you point a few links for further reading?

It happens that I'm right in the middle of configuring my own server. I've got only postfix and dovecot for now, nothing fancy yet.

Re:Nylas N1 – extensible open-source mail client by drdaeman on Monday October 05, 2015 @04:25PM (#10334643)
Dovecot has great support for Sieve, which is a neat and fairly powerful scripting language for mail filtering: http://wiki2.dovecot.org/Pigeonhole/Sieve

If this is not powerful enough, you can make sieve plugin invoke external program and pass it MIME-encoded email message for further processing. This way your server can, for example, add events to your calendar software or do the accounting based on receipt emails (and I forward my SMS to my IMAP server too)

Before Sieve I've used tools like procmail (http://tldp.org/LDP/LG/issue14/procmail.html), although I'm currently only using Dovecot/Sieve setup for my own mail. Some servers I've configured, for example a DIY SMS gateway at the company I've worked for, use just postfix+procmail (+ custom bash and Python scripts).

As for the spam filtering, I've had a good experience with rspamd (https://rspamd.com/), which is light on resources, integrates with Postfix quite nicely, usable out-of-box and is scriptable with Lua.

Hope those few pointers would help.

Re:Nylas N1 – extensible open-source mail client by 9248 on Wednesday October 07, 2015 @11:02AM (#10346418)
Sorry it took a while to reply.

Thanks a lot for recommending Sieve, I really mean this. There isn't even a single mention of it on the myriad of the half-baked 'how to setup isp-mail for personal use' blogspam I keep stumbling into when googling issues.

It looks like a great tool. Now I can probably have 'n' junk mailboxes with varying personal filters (always wanted this).

Re:Nylas N1 – extensible open-source mail client by e0m on Monday October 05, 2015 @02:39PM (#10333835)
Engineer from Nylas: You can start by using our open source Sync Engine (https://github.com/nylas/sync-engine) to begin extracting your own mail and put it behind a modern RESTful API.

Our ultimate goal is to finally give you and others like you an outlet and set of tools to build the next generation of awesome features that currently only Google and a few others can do.