I realize quota-service on Director is not supported, which is a shame. 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. 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. Is this a problem though? In terms of NFS locking etc. etc.? -- Tom
> On 20 Mar 2019, at 17.13, Tom Sommer via dovecot <dovecot at dovecot.org> wrote: > > I realize quota-service on Director is not supported, which is a shame. > > 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. > > 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. > > Is this a problem though? In terms of NFS locking etc. etc.?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? https://wiki2.dovecot.org/Quota/Configuration <https://wiki2.dovecot.org/Quota/Configuration> Sami -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190320/d620d65c/attachment.html>
On 2019-03-20 16:40, Sami Ketola via dovecot wrote:>> On 20 Mar 2019, at 17.13, Tom Sommer via dovecot <dovecot at dovecot.org> >> wrote: >> >> I realize quota-service on Director is not supported, which is a >> shame. >> >> 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. >> >> 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. >> >> Is this a problem though? In terms of NFS locking etc. etc.? > > 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?I don't really want to involve LDAP in my setup :)