|
FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc. |
|
Thread Tools |
6 Mar 2020, 02:08 AM | #1 | ||
The "e" in e-mail
Join Date: Apr 2011
Location: Manchester UK
Posts: 2,616
|
New rule builder tool
@Fastmail on Twitter:
Quote:
Quote:
|
||
6 Mar 2020, 06:32 AM | #2 |
Essential Contributor
Join Date: May 2018
Posts: 474
|
I sent in my initial batch of comments on this but only on it's impact on how it changes the sieve code and how those changes impact my code additions. Still need to look more closely on their filter changes.
Note, Spam Protection settings have now been moved to the Filters & Rules page. |
6 Mar 2020, 01:51 PM | #3 | ||
The "e" in e-mail
Join Date: Apr 2011
Location: Manchester UK
Posts: 2,616
|
This question was asked a few times on Twitter:
Quote:
Quote:
|
||
6 Mar 2020, 02:56 PM | #4 |
Essential Contributor
Join Date: May 2018
Posts: 474
|
I think they always have preferred that, at least since I started using FM. But it's there and I use it for a bunch of stuff that cannot be done with the UI.
I played around with a dummy rule to see how it now maps into the sieve code and the bunch of switches they used to effect the options. Not sure I like this but I guess it works. It just doesn't "feel" right, especially the part where it makes a copy of every filtered message only to discard the original later. I certainly don't like the sieve code formatting nor the fact they spread out their generated stuff (larger font, double line spacing). I already ran into an incompatibility that could break any additions you may have added to the end of the script, i.e., after the sequence of rules elsif blocks. I thought I should mention it in case anyone else runs into this. The "old" code sections 7 (Sieve generated for organize rules) and 8 (Sieve generated for fetch mail filing) are a sequence of elsif blocks. If you added your own code in the last edit block that follows you might be tempted to continue with additional elsif blocks. I did. The new sieve code is different starting with new section 4d (Do rule actions). You cannot continue your own code below starting with an elsif. You need to change it to an if assuming that's sufficient. That's ok for the most part if you know about it up front (hence my warning here). But I didn't. And if you don't update your script you will never know it's a syntax error and I assume the script will not run for incoming email. Not sure what happens under those conditions. Does everything go into the inbox? I only found this because I was also playing around with the backscatter setting. When I attempted to change it in the spam protection UI then it reported a sieve script error. But as I said, if I hadn't played around with that I would not know why my sieve script would fail had I actually tested it. For the moment I am just looking, not actually running the new stuff (well, unless something got received while I was doing the looking). As I said in my post 2 I reported all this stuff in a ticket. As a little bonus I've since updated that ticket because I noticed a section 4c (Rule says message is spam) which for the life of me I cannot figure out how that's ever used, since it's testing a switch (variable) that is ever set by any UI that I can think of. Probably left over from something during their development or for something not yet released. Last edited by xyzzy : 6 Mar 2020 at 03:16 PM. |
Thread Tools | |
|
|