[Dovecot] NFS rquota support

Nicolas STRANSKY Nico at stransky.cx
Thu Aug 2 18:19:14 EEST 2007


Le 02.08.2007 16:12, Timo Sirainen a écrit :
> For v1.1, probably applies to v1.0 code pretty easily too:
> 
> http://hg.dovecot.org/dovecot/rev/078d9dde99c8
> 
> The other rquota patches had authunix_create_default() call. Is this
> needed/useful?
> 
> The client is now always created+destroyed for each quota lookup. I'd
> think it would be faster if it was created only once, but does it then
> break something?
> 
> If the above isn't done, clnt_create() could be replaced with
> clntudp_create() and have the struct sockaddr_in cached. Patches
> welcome. :)
> 

Thanks a lot Timo !

This applied and compiled well with v1.0.3.

Then in order to use it what do we have to do ?
Is this correct ?

mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
plugin:
  quota: fs

Thanks again

-- 
Nico


More information about the dovecot mailing list