Pakete: dovecot-lmtpd dovecot-sieve (Debian 9)

/etc/dovecot/conf.d/20-lmtp.conf
protocol lmtp {
  mail_plugins = $mail_plugins sieve
}
/etc/dovecot/conf.d/90-sieve.conf
…
plugin {
…
  sieve = file:~/sieve
…

Testen:

doveconf -f service=lmtp mail_plugins