> On 8. Feb 2022, at 3.59, Hadmut Danisch <had...@danisch.de> wrote: > > I found that dovecot's sieve has some database connections, e.g. LDAP or > > https://doc.dovecot.org/configuration_manual/sieve/dict/ > > but rather to receive the whole sieve script for a given recipient as the > owner of the mailbox. > > > Is there a way to determine the target folder where to drop a mail into > quickly by the sender's address, even for thousands, without the need to > compare every single one of them?
Maybe you should check the extdata plugin for pigeonhole: https://doc.dovecot.org/configuration_manual/sieve/plugins/extdata/ <https://doc.dovecot.org/configuration_manual/sieve/plugins/extdata/> Sami