How to correctly use readonly=yes with the sqlite driver?

2022-07-24 Thread oddlama
Hi! I want to use a sqlite database in readonly mode, which I found mentionend in the docs [1]. Unfortunately no examples were given, so I tried to infer the usage by inspecting core/driver-sqlite.c. If I interpret it correctly, this should have worked: /etc/dovecot/dovecot-sql.conf.ext: driver

Re: How to correctly use readonly=yes with the sqlite driver?

2022-07-24 Thread Eduardo M KALINOWSKI
On 23/07/2022 20:07, oddlama wrote: Hi! I want to use a sqlite database in readonly mode, which I found mentionend in the docs [1]. Unfortunately no examples were given, so I tried to infer the usage by inspecting core/driver-sqlite.c. If I interpret it correctly, this should have worked: /et

Re: How to correctly use readonly=yes with the sqlite driver?

2022-07-24 Thread oddlama
On 24/07/2022 10:52, Eduardo M KALINOWSKI wrote: > The documentation mentions that "Prior to v2.3.18, Dovecot uses the > whole value as filename to connect, whitespace included.". Are you > running a new enough version? > > -- > You may get an opportunity for advancement today. Watch it! > > Ed

Re: How to correctly use readonly=yes with the sqlite driver?

2022-07-24 Thread Aki Tuomi
> On 24/07/2022 14:54 EEST oddlama wrote: > > > On 24/07/2022 10:52, Eduardo M KALINOWSKI wrote: > > The documentation mentions that "Prior to v2.3.18, Dovecot uses the > > whole value as filename to connect, whitespace included.". Are you > > running a new enough version? > > > > -- > > Yo