search for: vpopmail_lookup_vqp

Displaying 11 results from an estimated 11 matches for "vpopmail_lookup_vqp".

2004 Sep 22
3
problems with cvs version and vpopmail
Hi, I have tried compiling the latest cvs version of dovecot on my FreeBSD 5.2.1-release box with the ports version of vpopmail: 5.4.3_1. In the configuration file I have two auth paragraphs, one for passwd authentication and one for vpopmail-auth: auth vpopmail { mechanisms = plain userdb = vpopmail passdb = vpopmail user = vpopmail } But the vpopmail dosn'nt work. I got the
2010 Feb 26
2
segfault with vpopmail 5.5.0
...] dovecot-auth[3856]: segfault at 0 ip (null) sp 00007fff6666ad98 error 14 in dovecot-auth[400000+61000] 2010-02-26 22:17:45 dovecot: Error: child 3856 (auth) killed with signal 11 (core dumped) (gdb) bt full #0 0x0000000000000000 in ?? () No symbol table info available. #1 0x0000000000423b0e in vpopmail_lookup_vqp (request=0x726f68, vpop_user=0x7fff6666ae20 "postmaster", vpop_domain=0x7fff6666adc0 "test.bogus") at userdb-vpopmail.c:43 vpw = <value optimized out> #2 0x0000000000421376 in vpopmail_password_lookup (auth_request=0x7fff6666ae20, cleartext=false, result_r=0x7...
2017 Apr 11
2
Vpopmail Error
...dovecot.org, Bobber <bobber at kc0dxf.net> Date: 04/11/2017 12:13 PM > diff --git a/src/auth/userdb-vpopmail.c b/src/auth/userdb-vpopmail.c > index 5042dcf..d344fcd 100644 > --- a/src/auth/userdb-vpopmail.c > +++ b/src/auth/userdb-vpopmail.c > @@ -54,7 +54,7 @@ struct vqpasswd *vpopmail_lookup_vqp(struct auth_request *request, > static const char * > userdb_vpopmail_get_quota(const char *template, const char *vpop_str) > { > - const struct var_expand_table *tab; > + struct var_expand_table *tab; > string_t *quota; > > if (templat...
2009 Aug 31
1
dovecot-auth segfault with vpopmail 5.5.0 on amd64
...es.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Core was generated by `dovecot-auth'. Program terminated with signal 11, Segmentation fault. #0 0x0000000000000000 in ?? () (gdb) (gdb) bt full #0 0x0000000000000000 in ?? () No symbol table info available. #1 0x000000000041eb2d in vpopmail_lookup_vqp (request=0x1ae6548, vpop_user=0x7fff7a044830 "lawrence", vpop_domain=0x7fff7a0447d0 "shanghaiguide.com") at userdb-vpopmail.c:43 vpw = <value optimized out> #2 0x000000000041c9c6 in vpopmail_password_lookup (auth_request=0x7fff7a044830, cleartext=false, re...
2017 Apr 11
2
Vpopmail Error
Still not working. I'm now getting this error: > userdb-vpopmail.c: In function ?userdb_vpopmail_get_quota?: > userdb-vpopmail.c:65:13: error: assignment of member ?key? in > read-only object > tab[0].key = 'q'; > ^ > userdb-vpopmail.c:66:15: error: assignment of member ?value? in > read-only object > tab[0].value =
2006 Jan 18
2
%d interpolation problem fixed
...used wrongly, as there is also an interpolation bug, and %d isn't replaced correctly. The code in passdb-vpopmail and userdb-vpopmail works perfectly, by the way: the login email address[1] is parsed correctly, the vpopmail hookup is correct, and the vqpasswd struct that is returned by vpopmail_lookup_vqp contains all the right values. eg (these are debugging-for-dummies lines that I've scattered everywhere): > dovecot: Jan 17 22:51:42 Info: auth(default): * > vpopmail_verify_plain: now vpop_user = sysadmin, vpop_domain = > spanner.org, request->user = sysadmin@spanner.org, vp...
2004 Sep 30
0
dovecot not working with some vpopmail passwords
...ht (C) 2002-2003 cTimo Sirainen */ /* Thanks to Courier-IMAP for showing how the vpopmail API should be used */ @@ -20,6 +20,7 @@ { char vpop_user[VPOPMAIL_LIMIT], vpop_domain[VPOPMAIL_LIMIT]; struct vqpasswd *vpw; + char *password_crypt; int result; vpw = vpopmail_lookup_vqp(request->user, @@ -44,7 +45,12 @@ } /* verify password */ - result = strcmp(mycrypt(password, vpw->pw_passwd), vpw->pw_passwd) == 0; + + if (strncmp(vpw->pw_passwd, "$1$", 3) == 0) + password_crypt = md5_crypt(password, vpw->pw_pa...
2017 Apr 11
0
Vpopmail Error
diff --git a/src/auth/userdb-vpopmail.c b/src/auth/userdb-vpopmail.c index 5042dcf..d344fcd 100644 --- a/src/auth/userdb-vpopmail.c +++ b/src/auth/userdb-vpopmail.c @@ -54,7 +54,7 @@ struct vqpasswd *vpopmail_lookup_vqp(struct auth_request *request, static const char * userdb_vpopmail_get_quota(const char *template, const char *vpop_str) { - const struct var_expand_table *tab; + struct var_expand_table *tab; string_t *quota; if (template == NULL || *vpop_str == '\0' || can...
2017 Apr 11
0
Vpopmail Error
...at kc0dxf.net> > Date: 04/11/2017 12:13 PM > > diff --git a/src/auth/userdb-vpopmail.c b/src/auth/userdb-vpopmail.c > > index 5042dcf..d344fcd 100644 > > --- a/src/auth/userdb-vpopmail.c > > +++ b/src/auth/userdb-vpopmail.c > > @@ -54,7 +54,7 @@ struct vqpasswd *vpopmail_lookup_vqp(struct auth_request *request, > > static const char * > > userdb_vpopmail_get_quota(const char *template, const char *vpop_str) > > { > > - const struct var_expand_table *tab; > > + struct var_expand_table *tab; > > string_t *quota; &gt...
2007 Mar 22
3
--with-vpopmail compile errors
...-MT userdb-vpopmail.o -MD -MP -MF ".deps/userdb-vpopmail.Tpo" -c -o userdb-vpopmail.o userdb-vpopmail.c; \ then mv -f ".deps/userdb-vpopmail.Tpo" ".deps/userdb-vpopmail.Po"; else rm -f ".deps/userdb-vpopmail.Tpo"; exit 1; fi userdb-vpopmail.c: In function `vpopmail_lookup_vqp': userdb-vpopmail.c:30: error: `auth_request' undeclared (first use in this function) userdb-vpopmail.c:30: error: (Each undeclared identifier is reported only once userdb-vpopmail.c:30: error: for each function it appears in.) make[3]: *** [userdb-vpopmail.o] Error 1 make[3]: Leaving dir...
2004 Jun 14
1
vpopmail and open smtp relay
...void vpopmail_verify_plain(struct auth_request *request, const char *password, verify_plain_callback_t *callback) @@ -21,6 +23,7 @@ char vpop_user[VPOPMAIL_LIMIT], vpop_domain[VPOPMAIL_LIMIT]; struct vqpasswd *vpw; int result; + const char *ip_addr_fe; vpw = vpopmail_lookup_vqp(request->user, vpop_user, vpop_domain); @@ -57,6 +60,15 @@ return; } + /* it is needed for open smtp relay */ + + ip_addr_fe = net_ip2addr(&request->client_ip); + if (ip_addr_fe == NULL) + ip_addr_fe = "??"; + + env_...