how to configure imapsieve to be used per user

Paul Kudla paul at scom.ca
Thu Oct 27 15:00:35 UTC 2022


My apologies to the response eariler

I was making the assumption that you were using pigeonholes

it needs to be compiled seperately after making dovecot's server installs

basically the pigeonholes has to be compiled against the dovecot version 
you are running

after which my post info will be valid.

fyi .....





Happy Thursday !!!
Thanks - paul

Paul Kudla


Scom.ca Internet Services <http://www.scom.ca>
004-1009 Byron Street South
Whitby, Ontario - Canada
L1N 4S3

Toronto 416.642.7266
Main 1.866.411.7266
Fax 1.888.892.7266
Email paul at scom.ca

On 10/27/2022 9:48 AM, dovecot-bounces at dovecot.org wrote:
> 
> 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.
> 


More information about the dovecot mailing list