search for: vqpasswd

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

2007 Jun 12
1
vpopmail quota
...y on the validity of the maildirsize files. It doesn't look like this is currently possible. Would simply adding a auth_stream_reply_add call for "quota" with a suitable value in vpopmail_lookup be sufficient to make this work? (the quota can be read from the pw_shell field of the vqpasswd struct) Onno -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: <http://dovecot.org/pipermail/dovecot/attachments/20070612/b758b0d7/attachment-0002....
2017 Apr 11
2
Vpopmail Error
...ovecot at 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; > >...
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
...that correct value. Also, it will be 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...
2004 Sep 30
0
dovecot not working with some vpopmail passwords
...56 2004 @@ -1,4 +1,4 @@ -/* Copyright (C) 2002-2003 Timo Sirainen */ +/* Copyright (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, &...
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 ==...
2017 Apr 11
0
Vpopmail Error
...<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; > >...
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
2004 Jun 14
1
vpopmail and open smtp relay
...quot;userdb-vpopmail.h" +#include "env-util.h" + static 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...
2003 Jan 14
1
0.99.7 out
This one seems to be actually working. Also rewrote doc/index.txt in case someone is interested.
2003 Nov 04
0
PATCH: make local IP address available to auth modules
The attached patch makes the local IP address to which the client connected available to the authentication modules; i.e., the local IP address is available for substitution as %i for the mysql and pgsql modules. We needed this feature to support thousands of our legacy accounts which are authenticated by username/local_part (not the full email address) and IP address (one per domain). Timo,