A blog post detailing the process of migrating from procmail to sieve for email filtering on Debian, including configuration steps for Dovecot and Postfix, and strategies for transitioning rules.
see comments e.g. " Things I had to change to get it working on my Ubuntu 20.04"