Re: sieve processing - enable/disable per user?

2023-10-07 Thread Arkadiusz Miśkiewicz via dovecot
On 06/10/2023 17:32, Oscar del Rio wrote: On 2023-10-06 5:12 a.m., Arkadiusz Miśkiewicz via dovecot wrote: Unfortunately it doesn't get expanded: user_query = ... , 'sieve' AS 'sieve_enabled', ... mail_plugins = $mail_plugins %{sieve_enabled} "sieve_enabled" seems to be a "yes" or "no" us

Re: sieve processing - enable/disable per user?

2023-10-06 Thread Oscar del Rio
On 2023-10-06 5:12 a.m., Arkadiusz Miśkiewicz via dovecot wrote: Unfortunately it doesn't get expanded: user_query = ... , 'sieve' AS 'sieve_enabled', ... mail_plugins = $mail_plugins %{sieve_enabled} "sieve_enabled" seems to be a "yes" or "no" user variable (default="yes"), without havin

Re: sieve processing - enable/disable per user?

2023-10-06 Thread Arkadiusz Miśkiewicz via dovecot
On 06/10/2023 11:12, Arkadiusz Miśkiewicz wrote: On 06/10/2023 09:27, Aki Tuomi wrote: Maybe try protocol lmtp {    mail_plugins = $mail_plugins %{sieve_enabled} } and return sieve_enabled="sieve" for those users you want to enable sieve processing for. Unfortunately it doesn't get expanded

Re: sieve processing - enable/disable per user?

2023-10-06 Thread Arkadiusz Miśkiewicz via dovecot
On 06/10/2023 09:27, Aki Tuomi wrote: Maybe try protocol lmtp { mail_plugins = $mail_plugins %{sieve_enabled} } and return sieve_enabled="sieve" for those users you want to enable sieve processing for. Unfortunately it doesn't get expanded: user_query = ... , 'sieve' AS 'sieve_enabled',

Re: sieve processing - enable/disable per user?

2023-10-06 Thread Aki Tuomi via dovecot
Maybe try protocol lmtp { mail_plugins = $mail_plugins %{sieve_enabled} } and return sieve_enabled="sieve" for those users you want to enable sieve processing for. Aki > On 06/10/2023 09:56 EEST Arkadiusz Miśkiewicz via dovecot > wrote: > > > Hi. > > I keep users in database and would

sieve processing - enable/disable per user?

2023-10-06 Thread Arkadiusz Miśkiewicz via dovecot
Hi. I keep users in database and would like to enable/disable sieve for them per user. What's the approach for that? I'm looking at the sieve options and user_query setting but don't see anything that would make this possible. -- Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org ) _