<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 23 Mar 2019, at 14.28, Tom Sommer via dovecot <<a href="mailto:dovecot@dovecot.org" class="">dovecot@dovecot.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 2019-03-21 10:28, Sami Ketola via dovecot wrote:<br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">On 20 Mar 2019, at 18.17, Tom Sommer via dovecot <<a href="mailto:dovecot@dovecot.org" class="">dovecot@dovecot.org</a>> wrote:<br class="">On 2019-03-20 16:40, Sami Ketola via dovecot wrote:<br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">On 20 Mar 2019, at 17.13, Tom Sommer via dovecot <<a href="mailto:dovecot@dovecot.org" class="">dovecot@dovecot.org</a>> wrote:<br class="">I realize quota-service on Director is not supported, which is a shame.<br class="">As a workaround I'm thinking of setting up quota-service on one of my backend nodes, and have all my Postfix services ask this one node for the quota status.<br class="">This sort of defeats the purpose of the Director (having per-user assigned hot nodes), since now this one node running the quota-service will access all mailboxes to check the status of all inbound mail.<br class="">Is this a problem though? In terms of NFS locking etc. etc.?<br class=""></blockquote>Might be. Wouldn't it be just easier to use the overquota-flag available since 2.2.16 and set up overquota flag in LDAP or userdb of choice and configure postfix to check that flag?<br class=""></blockquote>I don't really want to involve LDAP in my setup :)<br class=""></blockquote>So use what ever your shared userdb service is as you must have one if<br class="">you are using multiple backends and directors.<br class=""></blockquote><br class="">Does it work with mysql userdb? Is there an example to look at anywhere?<br class=""></div></div></blockquote></div><br class=""><div class=""><br class=""></div><div class="">Quota over flag is explained in wiki <a href="https://wiki2.dovecot.org/Quota/Configuration" class="">https://wiki2.dovecot.org/Quota/Configuration</a></div><div class=""><br class=""></div><div class="">Basically you just need to return quota_over_flag from userdb and make a script that updates the flag in mysql in case the flag is incorrect.</div><div class="">And then also configure postfix to check the same flag.</div><div class=""><br class=""></div><div class="">Sami</div><div class=""><br class=""></div></body></html>