[Dovecot] LMTP plugin with MySQL query

Charly cc at alinto.net
Fri Sep 3 11:23:34 EEST 2010


Thank you for the reply,
I'll try to simplify my query using a MySQL view and to use dict. I 
think it's the easiest thing to do.

Charly

Le 02/09/2010 19:12, Timo Sirainen a écrit :
> On Thu, 2010-09-02 at 18:24 +0200, Charly wrote:
>
>> Is it possible to use lib-sql api or mysql libs in a plugin ?
>
> Most Dovecot binaries aren't linked with SQL libs, so that won't work
> without you adding those libraries to Makefiles. Do you need complex SQL
> queries, or just something simple? Maybe you could use lib-dict and dict
> proxy to talk to your SQL server? For example see
> http://wiki2.dovecot.org/Quota/Dict
>
>


More information about the dovecot mailing list