Moin Daniel,
yes thanks for the explanation, understood.
We have managed to integrate a simple sieve rule for all Users now.
However, there is something i would like to suggest regarding OX integration with sieve.
When activating the mail/dovecot/sieve/spam
variable, every new user will have a “default.sieve” script in his mailbox configuration.
If this is the case, mailfilter creation in Open-Xchange will fail though:
Caused by: com.openexchange.jsieve.export.exceptions.OXSieveHandlerException: Currently active script "default" is not the expected one "Open-Xchange"
So i think it would be better to validate, if Open-Xchange is in use on this system, and if so, create a new Open-Xchange.sieve file, including the Spamredirection as a first rule
require [ "mailbox" , "vacation" , "fileinto" ];
## Flag: |UniqueId:0|Rulename: automatisches Verschieben von SPAM
if header :contains "X-Spam-Level" "*****"
{
fileinto "Spam" ;
stop ;
}
and then link .dovecot.sieve to Open-Xchange.sieve.
(attention: fileinto :create “Spam” will not work for OX)
Maybe this can be done during user creation, whenever the Open-Xchange template has been chosen.
Don’t know if this could be easily achieved, but it would definitely eliminate ambiguities.
thanks for your help in any case, as always,highly appreciated!
best
Sascha