EmailDiscussions.com

EmailDiscussions.com (http://www.emaildiscussions.com/index.php)
-   FastMail Forum (http://www.emaildiscussions.com/forumdisplay.php?f=27)
-   -   Sieve improvements (http://www.emaildiscussions.com/showthread.php?t=72552)

n5bb 9 Mar 2017 01:30 PM

Sieve improvements
 
I just discovered that Fastmail has recently made many enhancements to their support of the sieve email processing language. When you look at the sieve editing screen you will see this require header specifying the sieve extensions supported:
Code:

require ["fileinto", "reject", "vacation", "imapflags", "notify", "envelope",
"body", "relational", "regex", "subaddress", "copy", "mailbox", "mboxmetadata",
"servermetadata", "date", "index", "comparator-i;ascii-numeric", "variables"];

Support has been added for several new sieve extensions. See this help page.
  • RFC 5233: "subaddress"
  • RFC 5490: "mailbox", "mboxmetadata", "servermetadata"
  • RFC 5260: "date", "index"
  • RFC 5229: "variables".
The sieve help has been updated. For example, see How to use Sieve.

The sieve notify extension has been greatly improved. Notify now supports notifications sent to these services (with great documentation):
  • app -- Fastmail app on mobile device (instructions)
  • mailto -- Email sent to another address
  • twilio -- Send an SMS message via Twilio
  • slack -- Send an email to a Slack channel
  • pushover -- Send a message via Pushover to a device
  • ifttt -- Send a message via IFTTT to trigger various actions (including SMS notifications)
Bill

BritTim 9 Mar 2017 02:02 PM

Nice. Thanks for the heads up.

Adding the variables extension and the enhancements to notify are quite significant. What I would really like to see is support for the editheader extension, but I guess standard Cyrus does not include it, and FastMail does not want to invest the significant effort that would be needed without.

Terry 9 Mar 2017 04:54 PM

Wow excellent, but will take me a while to understand it all...:D:D

David 9 Mar 2017 05:58 PM

Quote:

Originally Posted by Terry (Post 600515)
Wow excellent, but will take me a while to understand it all...:D:D


Simply put: Sieve is not all that of a big deal, Terry. Sieve is not a tremendously powerful, language (it was specifically designed to be so) - otherwise I (and millions of others) would have made more of an effort, to understand (all of its innuendos) ourselves.......

pjwalsh 10 Mar 2017 03:24 AM

They giveth and they taketh away.

This email is from the FastMail email administrator regarding
your email account ____.

We regret to inform you that we no longer support SMS for notifications.

Please check our help documentation for supported notification methods:


--
The new notify methods have been available for at least 6 months.
Good ol' SMS (direct) would have been nice.

Bill, you might link the Twilio help to your list.
https://www.fastmail.com/help/techni...de-twilio.html

Nice to see Sieve not being deprecated by FastMail.

n5bb 10 Mar 2017 12:20 PM

Fastmail tried a couple of different SMS services over the years, but there were problems with reliability and how to bill the user. Twilio looks very interesting to me. I just edited my earlier post with better help links.

Bill

pjwalsh 12 Dec 2017 12:33 PM

Quote:

Originally Posted by BritTim (Post 600514)
Adding the variables extension and the enhancements to notify are quite significant. What I would really like to see is support for the editheader extension...

blog.fastmail.com/2017/12/12/more-sieve-extensions

+ editheader
+ imap4flags [supercedes imapflags]
+ vacation seconds
+ detecting duplicates

www.fastmail.com/help/technical/sieve.html#extensions

BritTim 12 Dec 2017 06:12 PM

It is really great that, after a long dry spell, features of interest to power users seem to be making an appearance again.

elvey 17 Dec 2017 12:47 AM

Quote:

Originally Posted by BritTim (Post 604711)
It is really great that, after a long dry spell, features of interest to power users seem to be making an appearance again.

Agreed. Definitely useful!

n5bb 17 Dec 2017 08:44 AM

The full list of sieve extensions supported (based on the require statement at the start of a sieve script) is now:
"fileinto", "reject", "vacation", "notify", "envelope", "body", "relational", "regex", "subaddress", "copy", "mailbox", "mboxmetadata", "servermetadata", "date", "index", "comparator-i;ascii-numeric", "variables", "imap4flags", "editheader", "duplicate", "vacation-seconds"

Several other features (which I don’t believe are publicly documented) have been added, including:
  • Sieve notify methods “app”, “addcal”, and “update cal”
  • To trigger the notify statements with the methods listed above, received messages are generated with the “to” header set to “+app@“ and the headers "X-ME-Cal-Method" and "X-ME-Cal”.
The choices in more... when reading a message have improved over time. The calendar features have improved. But my belief is that much more we can see has been improved with the basic infrastructure of the system.

Bill

Terry 17 Dec 2017 09:53 AM

Bill what is the vacation-seconds

somdcomputerguy 17 Dec 2017 10:29 AM

The vacation-seconds variable defines how long that vacation message will be used.
See - https://blog.fastmail.com/2017/12/12...eve-extensions, and - https://tools.ietf.org/html/rfc6131

- Bruce

Terry 17 Dec 2017 11:27 AM

Interesting thank you...

somdcomputerguy 17 Dec 2017 11:40 AM

You're quite welcome.

- Bruce

n5bb 18 Dec 2017 04:30 AM

Vacation-seconds sieve appears to not work
 
I don’t think that vacation-seconds is working correctly. Can anyone else set a short interval (such as 15 seconds) and get replies if test messages arrive once every few minutes? I only get the initial response (after less than one day of testing).

A few hours ago I sent Fastmail staff a message about this and they said they would look into this issue.

Bill


All times are GMT +9. The time now is 11:10 PM.


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