6 Oct
2023
6 Oct
'23
12:27 p.m.
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:
user_query = ... , 'sieve' AS 'sieve_enabled', ...
mail_plugins = $mail_plugins %{sieve_enabled}
and
dovecot[17847]: lmtp(17932): Fatal: Plugin '%{sieve_enabled}' not found from directory /usr/lib64/dovecot/plugins
Tried %{userdb:sieve_enabled:} etc, too - these are not expanded in that place.
So other approach - is there a way to disable managesieve only, per user (while allowing imap, pop3 etc) ?
-- Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )