Getting this error:> In file included from ../../src/lib/lib.h:6:0, > from auth-common.h:4, > from userdb-vpopmail.c:5: > ../../config.h:791:0: note: this is the location of the previous > definition > #define VERSION "2.2.30" > ^ > userdb-vpopmail.c: In function ?userdb_vpopmail_get_quota?: > userdb-vpopmail.c:72:6: error: too many arguments to function ?var_expand? > if (var_expand(quota, template, tab, error_r) < 0) > ^ > In file included from auth-request.h:5:0, > from userdb.h:89, > from userdb-vpopmail.c:6: > ../../src/lib/var-expand.h:18:6: note: declared here > void var_expand(string_t *dest, const char *str, > ^ > userdb-vpopmail.c:72:2: error: void value not ignored as it ought to be > if (var_expand(quota, template, tab, error_r) < 0)-- *Bob Wooldridge* Blog: http://kc0dxf.net/blog/
Sorry to ask, what's vpopmail and how is it related to dovecot? On 30 May 2017 at 22:33, Bobber <bobber at kc0dxf.net> wrote:> Getting this error: > > In file included from ../../src/lib/lib.h:6:0, >> from auth-common.h:4, >> from userdb-vpopmail.c:5: >> ../../config.h:791:0: note: this is the location of the previous >> definition >> #define VERSION "2.2.30" >> ^ >> userdb-vpopmail.c: In function ?userdb_vpopmail_get_quota?: >> userdb-vpopmail.c:72:6: error: too many arguments to function ?var_expand? >> if (var_expand(quota, template, tab, error_r) < 0) >> ^ >> In file included from auth-request.h:5:0, >> from userdb.h:89, >> from userdb-vpopmail.c:6: >> ../../src/lib/var-expand.h:18:6: note: declared here >> void var_expand(string_t *dest, const char *str, >> ^ >> userdb-vpopmail.c:72:2: error: void value not ignored as it ought to be >> if (var_expand(quota, template, tab, error_r) < 0) >> > > -- > *Bob Wooldridge* > Blog: http://kc0dxf.net/blog/ >-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."
-------- Original Message -------- Subject: Re: Still trouble with vpopmail From: Odhiambo Washington <odhiambo at gmail.com> To: Dovecot Mailing List <dovecot at dovecot.org> Date: 05/30/2017 03:18 PM> Sorry to ask, what's vpopmail and how is it related to dovecot?http://www.inter7.com/vpopmail-virtualized-email/ Specifically the vpopmail database. https://wiki.dovecot.org/AuthDatabase/VPopMail -- *Bob Wooldridge* Blog: http://kc0dxf.net/blog/
On 30.05.2017 22:33, Bobber wrote:> Getting this error: > >> In file included from ../../src/lib/lib.h:6:0, >> from auth-common.h:4, >> from userdb-vpopmail.c:5: >> ../../config.h:791:0: note: this is the location of the previous >> definition >> #define VERSION "2.2.30" >> ^ >> userdb-vpopmail.c: In function ?userdb_vpopmail_get_quota?: >> userdb-vpopmail.c:72:6: error: too many arguments to function >> ?var_expand? >> if (var_expand(quota, template, tab, error_r) < 0) >> ^ >> In file included from auth-request.h:5:0, >> from userdb.h:89, >> from userdb-vpopmail.c:6: >> ../../src/lib/var-expand.h:18:6: note: declared here >> void var_expand(string_t *dest, const char *str, >> ^ >> userdb-vpopmail.c:72:2: error: void value not ignored as it ought to be >> if (var_expand(quota, template, tab, error_r) < 0) >Hi! Seems there has been mistake in porting the patch from master to release... can you try the attached patch? Aki -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-auth-Fix-vpopmail-for-2.2.patch Type: text/x-patch Size: 770 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20170531/507f198f/attachment-0003.bin>