<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 8. Feb 2022, at 3.59, Hadmut Danisch <<a href="mailto:hadmut@danisch.de" class="">hadmut@danisch.de</a>> wrote:</div><div class=""><div class=""><br class="">I found that dovecot's sieve has some database connections, e.g. LDAP or<br class=""><br class=""><a href="https://doc.dovecot.org/configuration_manual/sieve/dict/" class="">https://doc.dovecot.org/configuration_manual/sieve/dict/</a><br class=""><br class="">but rather to receive the whole sieve script for a given recipient as the owner of the mailbox.<br class=""><br class=""><br class="">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?<br class=""></div></div></blockquote></div><br class=""><div class=""><br class=""></div><div class="">Maybe you should check the extdata plugin for pigeonhole: <a href="https://doc.dovecot.org/configuration_manual/sieve/plugins/extdata/" class="">https://doc.dovecot.org/configuration_manual/sieve/plugins/extdata/</a></div><div class=""><br class=""></div><div class="">Sami</div><div class=""><br class=""></div></body></html>