News for hackers. Stuff that matters.
Re:JMAP: Like IMAP but Not Really by mehrdadn on Friday January 25, 2019 @07:55AM (#18997493)
Holy cow, I will have to look into this. Thanks a ton!!
Re:JMAP: Like IMAP but Not Really by y4mi on Friday January 25, 2019 @08:34AM (#18997716)
filters cannot be applied retroactively, however.

be sure to write your filters before receiving anything. Especially important if you're importing your email for the first time... and insanely annoying if you want to debug such an advanced filter.

as always with fastmail: It has great features... but always with a massive caveat.

Re:JMAP: Like IMAP but Not Really by dataflow on Friday January 25, 2019 @08:41AM (#18997760)
Ooooof, wow, thanks for the heads up. There's no way that's going to work... I edit my filters and apply them retroactively... There's no way I can set them in stone the first time. :( is there any email service that doesn't have this limitation?
Re:JMAP: Like IMAP but Not Really by pard68 on Friday January 25, 2019 @09:30AM (#18998122)
Its not on FastMail, its on Sieve. It is a hook that runs on receiving. To my knowledge if you want Sieve this is the only option. I use it with Protonmail and it is the same way. I also run it on my own mailserver.

One nice thing, for me at least, is it runs prior to the email ending up in your inbox and I am uses to Outlook rules were rules execute post arrival.

Re:JMAP: Like IMAP but Not Really by loeg on Friday January 25, 2019 @10:59AM (#18999062)
Sieve is an RFC email language. There's no reason Sieve recipes couldn't be applied to a corpus of existing email; that's an implementation detail of FastMail. Sure, it isn't necessarily the same as pre-receive (for example, anything you discarded the first time isn't going to show up again, and any manipulations made the first time aren't going to undo themselves). But it could be done; it's not really Sieve's problem.
Re:JMAP: Like IMAP but Not Really by tya99 on Saturday January 26, 2019 @02:00AM (#19005230)
Wouldn't using something like https://github.com/lefcha/imapfilter also be an option?

It would be awesome if some day there was a "jmapfilter". I think JMAP would be really efficient for this use case.

Re:JMAP: Like IMAP but Not Really by bad_user on Friday January 25, 2019 @09:15AM (#18997981)
Most of my filters are simple searches. And if you can search, you can apply it retroactively.

Also FastMail’s search works for any email header so it can be more potent than that of Gmail.

I wonder why can’t they add a checkbox to apply the rules retroactively. Seems to be simple enough.