|
FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc. |
|
Thread Tools |
5 Oct 2019, 06:31 AM | #31 |
The "e" in e-mail
Join Date: Jul 2002
Location: VK4
Posts: 3,029
|
You were lucky they would not do mine, I have only been with them since 2002...
Last edited by Terry : 5 Oct 2019 at 07:17 PM. |
8 Oct 2019, 11:13 PM | #32 | |
Essential Contributor
Join Date: Dec 2017
Location: Scotland
Posts: 492
|
Quote:
Do you have to steer clear of clicking anything on their Rules screen? Or is their system cunning enough to parse the current script, isolate your bits, and when a new script is generated slot your parts back in around their generated bits? Do you (I think I would) keep your own copy of your parts, or the whole generated script and your parts, elsewhere in case they manage to screw-up the whole thing? Is there only one script? That is, can you write subscripts and keep them somewhere and then %include them in the master script (which might make preserving your bits slightly easier to manage)? |
|
9 Oct 2019, 02:13 AM | #33 |
Essential Contributor
Join Date: Jan 2017
Posts: 280
|
The script is divided into different parts, four custom sections are interleaved with four generated sections.
|
9 Oct 2019, 05:37 AM | #34 | ||
Essential Contributor
Join Date: May 2018
Posts: 478
|
Quote:
Quote:
|
||
9 Oct 2019, 07:10 PM | #35 |
Essential Contributor
Join Date: Dec 2017
Location: Scotland
Posts: 492
|
|
23 Aug 2020, 06:15 AM | #36 |
Essential Contributor
Join Date: May 2018
Posts: 478
|
I thought I would resurrect this old thread to tell you that I just noticed that Spam Protection removed the Add Score option...again!
Of course this time around I really don't care since I've long had (since around the time of this old thread) Sieve code to handle adding it in if it wasn't there. If anyone wants that chunk of code let me know. I was wondering how long "they" would take to getting around to removing that option after they switched to the new UI. It was still in there (for me at least) after the new UI but I don't really need to visit the Spam Protection settings very often so I really don't know when they took the Add Score option back out since my Sieve code would have just taken over. Last edited by xyzzy : 23 Aug 2020 at 07:12 AM. |
23 Aug 2020, 03:36 PM | #37 |
Intergalactic Postmaster
Join Date: May 2004
Location: Irving, Texas
Posts: 8,930
|
Messages in the Spam folder (and only that folder) include a label showing the spam score. To the best of my memory, it's been like that for quite a while.
|
23 Aug 2020, 05:21 PM | #38 |
The "e" in e-mail
Join Date: Jul 2002
Location: VK4
Posts: 3,029
|
|
23 Aug 2020, 05:47 PM | #39 | |
Essential Contributor
Join Date: May 2018
Posts: 478
|
Quote:
As I said so have I which is why I had added the Sieve code to add the spam score back when this last happen. Last edited by xyzzy : 23 Aug 2020 at 06:02 PM. |
|
23 Aug 2020, 06:05 PM | #40 |
Cornerstone of the Community
Join Date: Jan 2003
Location: Oxfordshire, UK
Posts: 603
|
|
23 Aug 2020, 07:03 PM | #41 |
Essential Contributor
Join Date: May 2018
Posts: 478
|
This is a bit off topic, but...
There's some spam I class as those to be discarded so I place them in a "discard" folder (I don't have the guts to actually discard them) with a short auto-delete time (7 days). At the moment those that I think contain embedded scripts (<script>) or reference storage.googleapis.com in the raw body are in that category. I just don't trust such emails but I still have a chance to check them further. I'm also saving all spam in it's own folder for "research" purposes to see if certain spammers deserve to be promoted to the "discard" category and for reference. Initially this folder was this one prompted me to always want the explicit spam score displayed. I was initially trying to determine an appropriate spam threshold score. I was also looking for repeat offenders that were just plain annoying. That doesn't seem to be the case anymore (except for one that I've "promoted" to the "discard" category). Indeed I get very little spam these days (except for that one idiot - ever hear about "adidanos.xyz"?). In addition I have an "investigate" folder for spam tests I've added to my Sieve code that aren't quite "ready for prime time" (still fiddling around with checking for foreign languages since, for me, anything foreign I expect to be spam and sometimes these do slip under the spam detection radar). Bottom line I have these different classes of spam I keep in their respective folders so I want to see the spam score in the title because these folders don't have the spam badge that only shows in the Spam folder. I want to be able to see the spam score at a glance just by looking at the mail list subject lines and not having to open each one to see it's X-Spam-score header which I also include in the "Extra headers" display. Also all these additional folders have spam learning on so I am not losing anything by not keeping them in the Spam folder where I have to delete them to "learn". It's just the way I am currently doing things. Last edited by xyzzy : 23 Aug 2020 at 07:37 PM. |
23 Aug 2020, 08:02 PM | #42 |
Cornerstone of the Community
Join Date: Jan 2003
Location: Oxfordshire, UK
Posts: 603
|
thanks for the explanation :-)
|
24 Aug 2020, 09:10 AM | #43 |
Essential Contributor
Join Date: Mar 2007
Location: UK
Posts: 270
|
Thank you for this. Is the code different from what you posted here?:
https://www.emaildiscussions.com/sho...1&postcount=30 |
24 Aug 2020, 12:45 PM | #44 | |
Essential Contributor
Join Date: May 2018
Posts: 478
|
Quote:
A little explanation about this code.
Code:
# # Remove "{SPAM xx.x}" (if it's there) from the Subject line of any known sender somehow scored as spam. # Conversely prefix the Subject line with "{SPAM xx.x}" (except a known sender) if it is NOT already # there and it's scored as spam. This is all controlled by the ADD_SCORE switch. # # Basically this is almost the same as (and can co-exist with) the Spam Protection "Add score" setting but # with the addition of stripping off the "{SPAM xx.x}" from known senders because they are never treated # as spam. If "Add score" is enabled then all this code does is strip "{SPAM xx.x}" from the Subject in # the rare case it's on a known sender. If not this code is a substitute for the "Add score" option (but # still not adding "{SPAM xx.x}" to known senders). Since FM has a history of removing the Spam # Protection's "Add score" setting this code will always be a substitute for that should that setting ever # disappear again in the future! [update 8/22/20 - IT DID!] # if allof(string :is "${ADD_SCORE}" "true", anyof(header :value "gt" :comparator "i;ascii-numeric" "X-Spam-score" "${ST1}", header :regex "X-Spam-score" "^${ST1}\.[${ST2}]$")) { # X-Spam-score >= SPAM_THRESHOLD if header :matches "Subject" "{SPAM*} *" { # "Add score" is working if string :is "${known_sender}" "true" { # if known sender... deleteheader "Subject"; # ...strip "{SPAM xx.x}" from Subject line addheader "Subject" "${2}"; # X-Spam-score still shows the spam score } } elsif allof(string :is "${known_sender}" "false", # FM's "Add score" is not working or is off header :matches "Subject" "*") { # don't have to worry about known senders set "Subject" "${1}"; if header :matches "X-Spam-score" "*" { set "spam_score" "${1}"; if header :value "lt" :comparator "i;ascii-numeric" "X-Spam-score" "10" { set "spam_score" "0${1}"; # add leading 0 for spam scores < 10 } } deleteheader "Subject"; # prefix Subject with "{SPAM xx.x}" addheader "Subject" "{SPAM ${spam_score}} ${subject}"; } else { # known sender && spam && no {SPAM*} prefix # as in the 1st case X-Spam-score still shows the actual spam score } } # ADD_SCORE && spam |
|
24 Aug 2020, 01:19 PM | #45 |
Essential Contributor
Join Date: Mar 2007
Location: UK
Posts: 270
|
|