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 5 Dec 2015, 10:15 AM   #1
awaresoft
Essential Contributor
 
Join Date: Oct 2002
Location: Clinton, NJ
Posts: 254
How to use Fastmail generated sieve scripts in combination with custom sieve scripts

I'm curious if there's a way to use the rules that Fastmail generates for me with my own custom sieve rules. I don't want to change the rules that Fastmail is generating but I would like to supplement the auto-generated sieve rules with my own sieve rules. Any suggestions on how to do this and tips on getting started with custom sieve rules?
awaresoft is offline   Reply With Quote

Old 5 Dec 2015, 10:38 AM   #2
BritTim
The "e" in e-mail
 
Join Date: May 2003
Location: mostly in Thailand
Posts: 3,090
With a little care, the answer is yes.

Open up https://www.fastmail.com/help/technical/sieve.html, scroll down to "Sieve scripts on our beta server" and read all about it.

However, a word of warning, you set this up on the beta server, and it all works in the background regardless of whether using beta or regular interfaces, except actions on the normal server that change the sieve script (like changing Rules there) will cause your snippets of custom sieve to be no longer included.

You must make such changes only in the beta interface. If you forget, then as soon you remember log in to the beta interface and force the sieve script to be regenerated.

I really, really wish this would be moved out of beta. There are customers I do not dare use this with because I know there is a high probability they would break it with a Rule change.
BritTim is offline   Reply With Quote
Old 6 Dec 2015, 01:14 AM   #3
awaresoft
Essential Contributor
 
Join Date: Oct 2002
Location: Clinton, NJ
Posts: 254
That's exactly the information and cautions I was looking for. Thank you BritTim!
awaresoft is offline   Reply With Quote
Old 6 Dec 2015, 04:06 AM   #4
n5bb
Intergalactic Postmaster
 
Join Date: May 2004
Location: Irving, Texas
Posts: 8,926
If you have a simple need you may be able to use rules with the Advanced rule type on the normal (non-beta) system.
  • In Define Rules select the File into folders tab.
  • Make a new rule using "Message with" Advanced. Set the desired folder, then enter a Sieve fragment such as the following into "The text" field:
Code:
allof(header :contains "to" "me@mydomain", header :contains "subject" "fileme", header :matches "X-Attached" "*" )
This rule will file messages sent to a particular address with a subject containing fileme and with one or more attachments into a certain folder. If the code fragment condition is satisfied the regular file into folders rule is executed. You can also use Discard and Forward Advanced rules containing a Sieve fragment. The Sieve can also contain an action (such as a redirect) and you can use stop to prevent the original action specified by the rule to be executed. Here are some examples:

http://www.emaildiscussions.com/show...top#post587823
http://www.emaildiscussions.com/show...79&postcount=4
http://www.emaildiscussions.com/show...780#post576780

Bill

Last edited by n5bb : 6 Dec 2015 at 04:21 AM.
n5bb is offline   Reply With Quote
Old 6 Dec 2015, 06:50 AM   #5
awaresoft
Essential Contributor
 
Join Date: Oct 2002
Location: Clinton, NJ
Posts: 254
Thank you Bill!
awaresoft is offline   Reply With Quote
Old 7 Dec 2015, 06:27 AM   #6
dcxley
Junior Member
 
Join Date: Jan 2008
Location: Australia
Posts: 20
I recently started using the beta sieve. It is brilliant. Thanks.

Quote:
Originally Posted by BritTim View Post

I really, really wish this would be moved out of beta. There are customers I do not dare use this with because I know there is a high probability they would break it with a Rule change.
Hear, hear.

If it is going to be a long time for that to go into production, then i wonder if there could be an alert message about that effect.
dcxley 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:48 AM.

 

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