Roundcube Community Forum

 

Nested allof anyof conditions in Sieve filter

Started by 280000ss, January 02, 2025, 06:25:07 AM

Previous topic - Next topic

280000ss

Hello,

I need to have RoundCube Sieve filters with nested allof-anyof conditions. Something like this:

------------------------------------
if allof (
  header :contains "to" "[email protected]",
  anyof (
    header :contains "subject" "order",
    header :contains "subject" "tickets",
    header :contains "subject" "Verify Your Device With ASSv",
    header :contains "subject" "Verify Your Email With ASSV",
    ...
    header :contains "subject" "You're all set to see"
  )
)
{
  redirect :copy "[email protected]";
}
------------------------------------

Right now RoundCube overwrites this when I create a new simple filter from UI.

1. Any idea how can I achieve this?

I saw a discussion here which says that some of these conditions will be available in RoundCube 1.7

https://github.com/roundcube/roundcubemail/issues/8502#issuecomment-1175934712

2. When is 1.7 scheduled to release?

alec

Your example does not make sense.

ps. the ticket you mentioned has nothing to do with Sieve.

280000ss


280000ss

@alec Please can you see my screenshot above and confirm that I would be able to put such filtering conditions in RoundCube 1.7 and when is 1.7 is supposed to be released ?

alec