[Dovecot] my.cnf reading support in MySQL backend

Timo Sirainen tss at iki.fi
Tue Jan 1 19:41:22 EET 2008


On Tue, 2008-01-01 at 19:39 +0200, Timo Sirainen wrote:
> On Tue, 2008-01-01 at 18:23 +0100, Luca Longinotti wrote:
> > Timo Sirainen wrote:
> > > On 31.12.2007, at 15.23, Luca Longinotti wrote:
> > > 
> > >> +    mysql_options(conn->mysql, MYSQL_READ_DEFAULT_GROUP, "client");
> > > 
> > > Is "client" always the correct group to read? Would there be any point
> > > in making this configurable?
> > > 
> > Well, "client" is the default group. It can of course be made
> > configurable, which might be interesting... In that case I'd also make
> > the location of the configuration file configurable, for maximum
> > flexibility. Attached is a patch to do just that, and use "client" if
> > nothing is set.
> 
> I added it to v1.1, but I don't know if I should add it to v1.0. At
> least it shouldn't do it by default to make sure that no existing
> installations break accidentally..

Hmm. And I think I'll change the settings to option_file and
option_group. They make more sense than default_*.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080101/70f86893/attachment-0001.bin 


More information about the dovecot mailing list