Hi Ralf,
Looked up Sieve regular expression syntax, but it does not allow things
like “(?!pattern)” :-(
In general Sieve allows if elseif else blocks, but that is not exposed
via our editor.
If you need a single negative rule you can do the following:
-
#first rule
…
N-1) if Message-ID contains whatever move mail to INBOX
N) if allways true condition move mail to Trash
Thanks for your hint!
In fact, the main problem is:
we have a folder, where we collect all mails sent to a specific address, let’s say:
1)-N-2) rules (lot of rules)
N-1) if the recipient is helpdesk@domain.tld AND Message-ID contains SERVICECOMPUTERNAME then move the mail to the folder: Inbox/helpdesk/notification, continue with the next rule
N) if the recipient is helpdesk@domain.tld move the mail to the folder: Inbox/helpdesk, continue with the next rule
This technique unfortunately copies the mail to the inbox/helpdesk and inbox/helpdesk/notification, too.
The expected behavior, if the filter N-1 is true, N should never run.
The problem is there are a lot of emails from the notification service with the same Message-ID (from part always the same), so, just filtering to Message-ID does not work.
The other problem, there are some other combinations with the same Message-ID+recipientX and recipientX combinations. 
So, in your mail you wrote “if allways true condition move to Trash” -> I do not really get it.
Cheers,
István
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
eGroupWare-users mailing list
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users