How do the filters work?

Discussion in 'SCRYPTmail' started by krakastan, May 1, 2016.

  1. krakastan

    krakastan Valued Member

    Joined:
    Apr 30, 2016
    Messages:
    21
    Likes Received:
    1
    Hi, a few questions on how the filters work if I may :)

    1) Is it possible to use wildcards (regex would be really nice)

    2) Do the filters process in top to bottom order

    3) Is every filter processed, or does it stop when the first match is met

    4) Is it possible to reorder the filters

    5) When using "contains", will it match "@domain.com", or will it only match full addresses

    6) What does "To" actually match (ie does it include CC etc)

    thanks
     


  2. SCRYPTmail

    SCRYPTmail Email Service Provider

    Joined:
    May 6, 2015
    Messages:
    148
    Likes Received:
    32
    1. Regex not used - we try not to go too deep into each feature without request from our users
    2) Correct, but I just quick checked its sorting not in order of applying. I need to fix it
    3) Every filter rule is applied to incoming messages, but if top rule send email into other folder, is effectively avoiding other rules after
    4)Not at the moment
    5) You can use rule contains to match any email containing specific domain, i.e working as wildcard
    6)To works for To and CC fields
     

    Last edited: May 1, 2016
  3. krakastan

    krakastan Valued Member

    Joined:
    Apr 30, 2016
    Messages:
    21
    Likes Received:
    1
    Thank you :)
     
  4. krakastan

    krakastan Valued Member

    Joined:
    Apr 30, 2016
    Messages:
    21
    Likes Received:
    1
    Can you tell us what the actual sort order is?

    thanks
     
  5. SCRYPTmail

    SCRYPTmail Email Service Provider

    Joined:
    May 6, 2015
    Messages:
    148
    Likes Received:
    32
    Right now there is no particular order, it is something we can improve as times goes. Initially I designed expecting only one governing rule per message.
     
  6. krakastan

    krakastan Valued Member

    Joined:
    Apr 30, 2016
    Messages:
    21
    Likes Received:
    1
    Is there some sort of default order that the system uses such as the order they are created for example, or is the order different each time?

    Moving forward I think being able to manually order them would be great, but in the meantime understanding how they work is important to me :)

    thanks
     
  7. SCRYPTmail

    SCRYPTmail Email Service Provider

    Joined:
    May 6, 2015
    Messages:
    148
    Likes Received:
    32
    Right now its ordered by index, which one is a hash of filter object itself, meaning it will change if you modify data. Do you have any sort criteria in mind?
     
  8. krakastan

    krakastan Valued Member

    Joined:
    Apr 30, 2016
    Messages:
    21
    Likes Received:
    1
    Ah, thanks for that. explains why it was difficult to identify :)

    That's a tricky one.....my initial thoughts in order of preference would be

    1) Index number sort (ie add a [numeric?] index field to each filter on which to sort)
    2) Manual sort - via the gui interface
    3) Modified DateTime
    4) Created Datetime (all 4 of these allow manual control of the order)

    5) If it processes EVERY rule EVERY time,

    subject filters sorted alphabetically then
    From filters (Less specific first ie @domain.com before one@domain.com before two.one@domain.com all sorted alphabetically) then
    Recipent filters (Less specific first ie @domain.com before one@domain.com before two.one@domain.com all sorted alphabetically)
    I think at least have a known & constant order would be a good start.

    Hope this helps - your efforts are greatly appreciated :)
     
  9. SCRYPTmail

    SCRYPTmail Email Service Provider

    Joined:
    May 6, 2015
    Messages:
    148
    Likes Received:
    32
    I hear you. I think I will create index order first. And some day will implement more sophisticated control
     
  10. krakastan

    krakastan Valued Member

    Joined:
    Apr 30, 2016
    Messages:
    21
    Likes Received:
    1
    If the index numbers can be seen/edited/controlled by the user then that may be sophisticated enough.
     
  11. SCRYPTmail

    SCRYPTmail Email Service Provider

    Joined:
    May 6, 2015
    Messages:
    148
    Likes Received:
    32
    yes of course
     

Want to reply or ask your own question?

It only takes a minute to sign up (and it's free!). Click the orange sign up button to choose a username and then you can ask your own questions on the forum.
Loading...