EmailDiscussions.com  

Go Back   EmailDiscussions.com > Email Service Provider-specific Forums > FastMail Forum
Register FAQ Members List Calendar Today's Posts
Stay in touch wirelessly

FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc.

Reply
 
Thread Tools
Old 17 Apr 2020, 04:52 AM   #46
JamesHenderson
Cornerstone of the Community
 
Join Date: Jan 2003
Location: Oxfordshire, UK
Posts: 603
A fix is on its way

I just received an update from support.

They have a fix written and pending code review and deployment, and expect it’ll be working again Monday or Tuesday..
JamesHenderson is offline   Reply With Quote
Old 17 Apr 2020, 07:04 AM   #47
xyzzy
Essential Contributor
 
Join Date: May 2018
Posts: 478
Got it too. I guess he's pretty much echoing his updates on both tickets.
xyzzy is offline   Reply With Quote
Old 19 Apr 2020, 02:31 AM   #48
SideshowBob
Essential Contributor
 
Join Date: Jan 2017
Posts: 278
Quote:
Originally Posted by xyzzy View Post
Ok, I guess. So you are disabling all the tests in section 3 (Sieve generated for spam protection) so that it doesn't matter what X-Spam-Known-Sender is set to? No backscatter to test either?
It depends on your backscatter setting, if it's set to discard you get:

Code:
### 3. Sieve generated for spam protection
if not header :matches "X-Spam-Known-Sender" "yes*" {
  if 
    allof(
    header :contains "X-Backscatter" "yes",
    not header :matches "X-LinkName" "*"
    )
  {
    discard;
    stop;
  }
}
which seems OK. Probably you can remove that with "Do nothing", but I'm not sure whether they still add X-Backscatter then.

I don't actually use any of this as I have a "stop;" at the end of the first section.
SideshowBob is offline   Reply With Quote
Old 19 Apr 2020, 06:08 AM   #49
xyzzy
Essential Contributor
 
Join Date: May 2018
Posts: 478
Quote:
Originally Posted by SideshowBob View Post
It depends on your backscatter setting, if it's set to discard you get:
- - -
Probably you can remove that with "Do nothing", but I'm not sure whether they still add X-Backscatter then.
That's the reason for changing X-Spam-Known-Sender, i.e., under conditions FM doesn't support in it's contacts (e.g., *@*.company.com). I don't want to have to be concerned about choosing the spam protection settings based on what code it may or may not generate. If those conditions remain all based on X-Spam-Known-Sender then I rather have the code flow as it was designed for unknown senders as usual no matter what my spam protection setting might be.

What's I find unique (?) about FM is it's sieve support and that it gives the user so much power to tailor their mail handling their own personal way. So you can do whatever you feel appropriate and I can do the same.
xyzzy is offline   Reply With Quote
Old 21 Apr 2020, 03:02 AM   #50
JamesHenderson
Cornerstone of the Community
 
Join Date: Jan 2003
Location: Oxfordshire, UK
Posts: 603
OK, Support has told me it has been fixed and it now works for me.

My script is like this and the idea is to whitelist without having the address in contacts (as I will never want to email these addresses).

Code:
### 0.  Whitelist
if not header :matches "X-Spam-Known-Sender" ["yes*", "in-addressbook"]
{
	if anyof(
		...,
		...,
		...
		)
	{
		deleteheader "X-Spam-Known-Sender";
		addheader "X-Spam-Known-Sender" "yes from sieve Whitelist";
	}
}
JamesHenderson is offline   Reply With Quote
Old 21 Apr 2020, 05:19 AM   #51
xyzzy
Essential Contributor
 
Join Date: May 2018
Posts: 478
Yup, they updated my ticket as well. But so it doesn't fall through the cracks I reopened it reminding them they need to update Sieve Tester as well!

I gave them this small test case which is the one I used to verify it still doesn't work there.

Code:
require ["fileinto", "variables", "editheader"];

deleteheader "X-Spam-Known-Sender";
addheader "X-Spam-Known-Sender" "changed header";
if header :matches "X-Spam-Known-Sender" "*" {fileinto "${1}";}
with the following "email" as a test,

Code:
 X-Spam-Known-Sender: original header
Still seeing Sieve Tester filing the original and not the changed header.

Update:
Already got a reply (he must be there right now as I reported it). He says they are not going to fix sieve tester. Oh well. For Sieve Tester purposes this is not critical anyhow.

Last edited by xyzzy : 21 Apr 2020 at 05:33 AM.
xyzzy is offline   Reply With Quote
Old 21 Apr 2020, 04:39 PM   #52
JamesHenderson
Cornerstone of the Community
 
Join Date: Jan 2003
Location: Oxfordshire, UK
Posts: 603
Quote:
Originally Posted by xyzzy View Post
Yup, they updated my ticket as well. But so it doesn't fall through the cracks I reopened it reminding them they need to update Sieve Tester as well!

I gave them this small test case which is the one I used to verify it still doesn't work there.

Code:
require ["fileinto", "variables", "editheader"];

deleteheader "X-Spam-Known-Sender";
addheader "X-Spam-Known-Sender" "changed header";
if header :matches "X-Spam-Known-Sender" "*" {fileinto "${1}";}
with the following "email" as a test,

Code:
 X-Spam-Known-Sender: original header
Still seeing Sieve Tester filing the original and not the changed header.

Update:
Already got a reply (he must be there right now as I reported it). He says they are not going to fix sieve tester. Oh well. For Sieve Tester purposes this is not critical anyhow.
Thanks for trying! I assume they think that not enough people will use Sieve Tester for that purpose.
JamesHenderson is offline   Reply With Quote
Old 21 Apr 2020, 06:34 PM   #53
xyzzy
Essential Contributor
 
Join Date: May 2018
Posts: 478
Quote:
Originally Posted by JamesHenderson View Post
Thanks for trying! I assume they think that not enough people will use Sieve Tester for that purpose.
In this particular case they may be right. Not just that one purpose but for any purpose.

I've submitted other problems with Sieve Tester (ST) in the past they just reject them usually with the reason that they think not enough users use sieve to justify spending resources on ST. In general they are right about that too but my philosophy why even supply an inconsistent tool?

At any rate let me quote exactly what he replied about ST.

Quote:
Sieve tester is almost certainly not ever getting fixed. It's not really built the same way as the rest of our code, which means that it's not ever going to be a reliable simulation, so it's not fit for purpose.

Hopefully after some more work on Sieve (namely, replacing all our use of the ManageSieve protocol with JMAP), we'll build a new mechanism for simulating Sieve behavior that is guaranteed to same way as the delivery mechanism.

Until then, I can pretty much guarantee that Sieve tester isn't getting any real time spent on it.
If they always have the mindset that not enough users use sieve why would they even bother with producing another tester (although I would think their tech support might need it sometimes too)? That second paragraph is encouraging but I am not holding my breath on this.
xyzzy is offline   Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +9. The time now is 05:22 AM.

 

Copyright EmailDiscussions.com 1998-2022. All Rights Reserved. Privacy Policy