Robert Schetterer
2008-Sep-24 16:50 UTC
[Dovecot] dovecot 1.2.alpha1 quota dict driver mysql broken
Hi Timo, quota dict seems to be broken with 1.2.alpha1 MAP(robert at schetterer.com): read(/var/run/dovecot/dict-server) failed: Remote disconnected dovecot: Sep 24 18:43:16 Error: dict: Error in configuration file /etc/dovecot/dovecot-dict-quota.conf line 1: Unknown setting: driver dovecot: Sep 24 18:43:16 Error: dict: Failed to initialize dictionary 'quotadict' etc/dovecot/dovecot-dict-quota.conf driver = mysql connect = host=localhost dbname=postfix user=postfix password=... default_pass_scheme = PLAIN table = quota select_field = current where_field = path username_field = username worked with 1.1.3 -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
Timo Sirainen
2008-Sep-24 17:02 UTC
[Dovecot] dovecot 1.2.alpha1 quota dict driver mysql broken
On Sep 24, 2008, at 7:50 PM, Robert Schetterer wrote:> etc/dovecot/dovecot-dict-quota.conf > driver = mysql..> worked with 1.1.3Really? I don't think there was such a setting in v1.1 either, since the driver is taken from the dict line in dovecot.conf. Anyway, besides the problem with this setting the dict configuration was rewritten in v1.2. See doc/dovecot-dict-sql-example.conf -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080924/921252c5/attachment-0002.bin>
Robert Schetterer
2008-Sep-24 19:53 UTC
[Dovecot] dovecot 1.2.alpha1 quota dict driver mysql broken
Timo Sirainen schrieb:> On Sep 24, 2008, at 7:50 PM, Robert Schetterer wrote: > >> etc/dovecot/dovecot-dict-quota.conf >> driver = mysql > .. >> worked with 1.1.3 > > Really? I don't think there was such a setting in v1.1 either, since the > driver is taken from the dict line in dovecot.conf. > > Anyway, besides the problem with this setting the dict configuration was > rewritten in v1.2. See doc/dovecot-dict-sql-example.conf >hm, it did worked, but perhaps it was my fault during upgrading or it was ignored before the wikis says Example dovecot-dict-quota.conf: connect = host=localhost dbname=mails user=sqluser password=sqlpass table = quota select_field = current where_field = path username_field = username now i am having connect = host=localhost dbname=postfix user=postfix password=..... table = quota select_field = current where_field = path username_field = username with new log failure Sep 24 21:40:58 Error: dict: Error in configuration file /etc/dovecot/dovecot-dict-quota.conf line 2: Unknown setting: table dovecot: Sep 24 21:40:58 Error: dict: Failed to initialize dictionary 'quotadict' dovecot: Sep 24 21:40:58 Error: IMAP(robert at schetterer.com): read(/var/run/dovecot/dict-server) failed: Remote disconnected dovecot: Sep 24 21:41:06 Warning: Killed with signal 15 seems strange > Unknown setting: table ??? dovecot.conf dict { quotadict = mysql:/etc/dovecot/dovecot-dict-quota.conf } quota = dict:::proxy::quotadict -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria