News for hackers. Stuff that matters.
Re:JMAP: Like IMAP but Not Really by mehrdadn on Friday January 25, 2019 @07:42AM (#18997426)
Does FastMail let you have complex conditions in filters though? One huge value of Gmail for me is that I can have arbitrarily complex nested conditions to filter mail using a formula. I've been looking for even more flexible filtering (e.g. custom scripts) and yet I have not even come across anything on par with it.
Re:JMAP: Like IMAP but Not Really by jph00 on Friday January 25, 2019 @07:46AM (#18997447)
fastmail lets you write complete scripts for filtering using the Sieve programming language. https://www.fastmail.com/help/technical/sieve.html
Re:JMAP: Like IMAP but Not Really by loeg on Friday January 25, 2019 @10:58AM (#18999050)
Sieve is great. I highly recommend it over, say, procmail, or Outlook filters (especially Outlook Web Access).
Re:JMAP: Like IMAP but Not Really by h1d on Friday January 25, 2019 @01:46PM (#19001018)
Isn't procmail dead?
Re:JMAP: Like IMAP but Not Really by loeg on Friday January 25, 2019 @06:18PM (#19003556)
What does dead mean to you? It still compiles and you can install it from various binary repositories.
Re:JMAP: Like IMAP but Not Really by h1d on Friday January 25, 2019 @10:50PM (#19004649)
It's not even maintained and the official site seems long gone. How do you see this as alive?
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.