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 26 May 2008, 07:26 AM   #1
camner
Cornerstone of the Community
 
Join Date: Jul 2002
Location: Tacoma, WA
Posts: 642
Sieve tester out of date

The wonderful Sieve Tester maintained by SanjaySeth (at http://sastools.com/SieveTest/sievetest.php) works wonderfully but doesn't support some modern extensions (such as "body"). Does anyone know of an updated Sieve script test?
camner is offline   Reply With Quote

Old 27 May 2008, 10:18 AM   #2
robmueller
Intergalactic Postmaster
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 6,102

Representative of:
Fastmail.FM
I copied and updated sanjays script a while back.

http://www.fastmail.fm/docs/sieve/sievetest.php

It uses the same install of cyrus that our backend servers do, so it should be up to date.

Rob
robmueller is offline   Reply With Quote
Old 27 May 2008, 11:39 AM   #3
camner
Cornerstone of the Community
 
Join Date: Jul 2002
Location: Tacoma, WA
Posts: 642
Marvellous! Thank you!

(Perhaps Sanjay might consider linking back to this new one...)
camner is offline   Reply With Quote
Old 28 May 2008, 02:16 AM   #4
SanjaySheth
Master of the @
 
Join Date: Mar 2002
Location: Chicago
Posts: 1,079
Smile

In fact, this is a great thing. I haven't had a chance to update or maintain that tester for a long time so it will be nice if Fastmail can keep it up to date.

I'll update my website to redirect my sieve tester page to the Fastmail page.

- Sanjay
SanjaySheth is offline   Reply With Quote
Old 28 May 2008, 05:59 AM   #5
Prognathous
Master of the @
 
Join Date: Aug 2002
Location: Israel
Posts: 1,060
Quote:
Originally Posted by robmueller View Post
I copied and updated sanjays script a while back.

http://www.fastmail.fm/docs/sieve/sievetest.php
Thanks Rob. This is useful.

Is there any chance you could add this link to the Advanced Rules (Sieve Script Source) window? This way, users who are not forum participants will also be able to enjoy it (and it would also be more accessible to the rest of us).

Thanks!
Prog.
Prognathous is offline   Reply With Quote
Old 28 May 2008, 10:22 AM   #6
robmueller
Intergalactic Postmaster
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 6,102

Representative of:
Fastmail.FM
Will do. Should be on beta now.

Rob
robmueller is offline   Reply With Quote
Old 28 May 2008, 11:46 AM   #7
n5bb
Intergalactic Postmaster
 
Join Date: May 2004
Location: Irving, Texas
Posts: 8,929
Quote:
Originally Posted by robmueller View Post
Will do. Should be on beta now.
This works great on beta, Rob. Thanks!

Bill
n5bb is offline   Reply With Quote
Old 28 May 2008, 11:08 PM   #8
SanjaySheth
Master of the @
 
Join Date: Mar 2002
Location: Chicago
Posts: 1,079
Rob,

Since you've added the link to the sieve tester on that page, I would suggest going one small step further and automatically preloading the tester with the current sieve script that a user has set. That would make it a one-click operation.

For bonus points, put something on the email actions list (the dropdown while you are viewing an email) that will automatically go to the sieve tester page with the user's current sieve script preloaded as well as the current email preloaded so a user can see exactly how sieve processed it... I think that is the most common usage of the sieve tester anyways (to see why a particular email isn't getting filed correctly...)
SanjaySheth is offline   Reply With Quote
Old 29 May 2008, 08:16 AM   #9
robmueller
Intergalactic Postmaster
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 6,102

Representative of:
Fastmail.FM
I have had a long term plan to add a "Apply sieve rules" action on the Mailbox screen so you can select a range of emails and have your sieve rules applied.

Actually, it wouldn't immediately apply them, instead it would come back with a screen like:

[ ] 20 emails - discard
[ ] 15 emails - fileinto "xyz"
... etc ...

And you then checkbox the actions you actually want to happen.

I could implement this already, but it would require retrieving every email from the server and running the sieve-test program on it.

A better idea is to add a new IMAP command which runs the test on the server, and returns the results back to the client. That way you don't have to copy every email over the network, and launch a separate sieve-test process on every one.

I looked briefly into this a while back, and it should be straightforward to do, it's just yet another piece of work on the stack...

Rob
robmueller is offline   Reply With Quote
Old 29 May 2008, 08:19 AM   #10
robmueller
Intergalactic Postmaster
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 6,102

Representative of:
Fastmail.FM
I guess I should say, you're suggestion would be quicker to implement right now

Hmmm, what would be the best way of filling in the form fields though? I'd prefer to not give the php script any access to FM usernames or other information. A standard redirect would end up with a URL that's too long trying to hold all the script + message data. You want a POST redirect of some sort? Any ideas?

Rob
robmueller 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 08:23 AM.

 

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