On 2022-10-27 02:28, Stephan Bosch wrote:
On 24-10-2022 12:00, Sebastian Bachmann wrote:
according to the documentation, this has to be added to the IMAP METADATA dict per mailbox (https://doc.dovecot.org/configuration_manual/imap_metadata/):

https://doc.dovecot.org/configuration_manual/sieve/plugins/imapsieve/ says:
The basic IMAPSIEVE capability allows attaching a Sieve script to a mailbox for any mailbox by setting a special IMAP METADATA entry. This way, users can configure Sieve scripts that are run for IMAP events in their mailboxes.
But I can not find any example how this should work, neither which client supports setting those things. My guess is that these keys are used: https://www.iana.org/assignments/imap-metadata/imap-metadata.xhtml#imap-metadata-2

I would also be interested to know if and how that works, especially if you can add a rule when moving mails (from anywhere) to a certain mailbox for a single user.

The basic capability works according to the specification: https://www.rfc-editor.org/rfc/rfc6785
This allows the users to configure these scripts.

If you want to arrange this solely at the administrator's discretion, you can use the _before/_after settings documented in https://doc.dovecot.org/configuration_manual/sieve/plugins/imapsieve


Best,
Sebastian

On 17.10.2022 12:46, Marc wrote:

I only see configurations that are active for all users, how to configure this in the user sieve rules. I only need this for specific users.


Why dont you use pigeonholes?

Also, I recommend to look for Symlink creation titled post here in the mailing list, there is few points in about setting up per user sieve scripts that will be helpful to you.

Also, there is other posts on how to setup sieve for per user scripts.

Zakaria.

Reply via email to