On Fri, 2006-02-03 at 13:43 +0100, Thomas Wouters wrote:
I'm not sure why the 'passwd' userdb didn't allow args, but it meant (for instance) that the quota plugins weren't usable. I spent quite a bit of time trying to get my new quota-rquotad plugin to work, only to find out that it was my 'quota=rquotad:<filesystem list>' argument that wasn't being passed to the imap child :)
The attached patch implements arguments for the 'passwd' userdb, just like it exists for the 'static' userdb (in fact, mostly copy-pasted from 'static'.) It doesn't try to avoid clashing with the values found in the passwd-struct, but I suspect it ends up overwriting them. That could probably be a feature ;) I don't use the passwd-file userdb, but that one would probably also enjoy being argified.
I added a plugin { .. } section to dovecot.conf a few days ago. I think this could be done better in there :)