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 23 May 2017, 04:03 AM   #1
odedp
Master of the @
 
Join Date: Mar 2000
Location: Tel-Aviv, ISRAEL
Posts: 1,664
How many "or" conditions?

I have a forwarding rule which has several "or" conditions.
If any of them applies, the mail is forwarded to a certain address.
How many "or" conditions can one rule have?
Thanks for any info.

Oded.
odedp is offline   Reply With Quote

Old 23 May 2017, 04:22 AM   #2
BritTim
The "e" in e-mail
 
Join Date: May 2003
Location: mostly in Thailand
Posts: 3,090
It is converted into a sieve anyof construct, and I think the only limitation is the total size of the sieve script. I doubt it is anything you need to worry about unless you have several thousand conditions.
BritTim is offline   Reply With Quote
Old 23 May 2017, 04:25 AM   #3
odedp
Master of the @
 
Join Date: Mar 2000
Location: Tel-Aviv, ISRAEL
Posts: 1,664
Quote:
Originally Posted by BritTim View Post
It is converted into a sieve anyof construct, and I think the only limitation is the total size of the sieve script. I doubt it is anything you need to worry about unless you have several thousand conditions.
Wow!
That's great!!
Thank you very much for your quick answer, BritTim
Much appreciated
odedp is offline   Reply With Quote
Old 25 May 2017, 05:27 AM   #4
jhollington
Essential Contributor
 
Join Date: Apr 2008
Posts: 371
Actually, there is an upper limit to list sizes in Sieve, although it's going to depend entirely on how FastMail has configured it.

The interface for creating rules limits the number of conditions to 50 — the "Add Condition" button is greyed out after you reach fifty items (I was bored, so I tested it ).

As BritTim points out, in theory you could certainly add more in a manual Sieve rule, but how many you could put in before Sieve choked is really a question for the fine folks at FastMail.... it's usually a server-settable preference, and some systems I've worked with default to 64 if you don't explicitly specify it; I can't find any information on what the defaults are in Cyrus' Sieve implementation, but there's also no telling what FastMail may have tweaked it to regardless.
jhollington is offline   Reply With Quote
Old 25 May 2017, 05:31 AM   #5
odedp
Master of the @
 
Join Date: Mar 2000
Location: Tel-Aviv, ISRAEL
Posts: 1,664
Quote:
Originally Posted by jhollington View Post
Actually, there is an upper limit to list sizes in Sieve, although it's going to depend entirely on how FastMail has configured it.

The interface for creating rules limits the number of conditions to 50 — the "Add Condition" button is greyed out after you reach fifty items (I was bored, so I tested it ).

As BritTim points out, in theory you could certainly add more in a manual Sieve rule, but how many you could put in before Sieve choked is really a question for the fine folks at FastMail.... it's usually a server-settable preference, and some systems I've worked with default to 64 if you don't explicitly specify it; I can't find any information on what the defaults are in Cyrus' Sieve implementation, but there's also no telling what FastMail may have tweaked it to regardless.
50 is more than enough for me
Thank you!
odedp 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 01:04 PM.

 

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