quota-service with Director - A workaround

Tom Sommer mail at tomsommer.dk
Wed Mar 20 18:17:07 EET 2019


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 :)


More information about the dovecot mailing list