search for: var_expand_t

Displaying 20 results from an estimated 37 matches for "var_expand_t".

Did you mean: var_expand
2017 Apr 11
2
Vpopmail Error
...--- 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 you give this a go? It should repair the build. > > Aki > >> On April 11, 2017 at 7:32 PM Bobber <bobber at...
2010 May 20
1
Patch for logging variables
...= i_stream_create_fd(fd_in, imap_max_line_length, FALSE); client->output = o_stream_create_fd(fd_out, (size_t)-1, FALSE); + client->expunged = 0; o_stream_set_flush_callback(client->output, client_output, client); *************** *** 105,110 **** --- 106,113 ---- static struct var_expand_table static_tab[] = { { 'i', NULL, "input" }, { 'o', NULL, "output" }, + { 'c', NULL, "client_ip" }, + { 'e', NULL, "expunged_count" }, { '\0', NULL, NULL } }; struct var_expand_table *tab; ********...
2017 Apr 11
2
Vpopmail Error
...m trying to compile the latest Dovecot (v2.2.29) and when I run >> make I get this error: >> >>> auth-userdb-vpopmail.o: In function `userdb_vpopmail_get_quota': >>> /usr/local/src/dovecot-2.2.29/src/auth/userdb-vpopmail.c:64: >>> undefined reference to `var_expand_table_build' >>> collect2: error: ld returned 1 exit status >>> Makefile:932: recipe for target 'auth' failed >>> make[3]: *** [auth] Error 1 >>> make[3]: Leaving directory '/usr/local/src/dovecot-2.2.29/src/auth' >>> Makefile:496: reci...
2010 May 19
1
logging
I am looking through the logging options and wondering if there are a couple of things that we can do 1. Logouts don't seem to show the IP address of the logout, we typically see multiple sessions at a time and wondering if there is a way to tie the logouts to an IP 2. POP logouts show the number of messages retrieved/deleted but I don't see a way to do this with IMAP, is there a logout
2006 Sep 05
2
rc7 bug? [Was: deliver LDA and INBOX location] (fwd)
Anyone had any thoughts on the item below? If the problem is with my config, I'd like to be guided towards how I might resolve it. If it is a bug in rc7, it would be good to fix it, and I'd be happy to beta-test. -- : David Lee I.T. Service : : Senior Systems Programmer Computer Centre : :
2007 Mar 02
1
Doing %var-substitutions in a plugin...
Hi, I'm trying to write a plugin that need to do some %var-substitution. Is there a way to get the var_expand_table used by the process? If not, I guess I could use getenv("USER") (for %u, %n and %d) and getenv("HOME") (for %h); but what for the other ones? Cheers, Nicolas
2017 Apr 11
0
Vpopmail Error
....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 you give this a go? It should repair the build. Aki > On April 11, 2017 at 7:32 PM Bobber <bobber at kc0dxf.net> wrote: > > > Still not...
2017 Apr 11
0
Vpopmail Error
....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 you give this a go? It should repair the build. > > > > Aki > > > >>...
2014 Dec 12
0
PATCH - add username_format to the PAM auth module
..._name, *pam_cache_key, *username_format; unsigned int requests_left; unsigned int pam_setcred:1; unsigned int pam_session:1; unsigned int failure_show_msg:1; + unsigned int pam_allow_transform:1; }; struct pam_conv_context { @@ -67,6 +68,13 @@ char *string; int i; + const struct var_expand_table *table; + string_t *username; + + username = t_str_new(256); + table = auth_request_get_var_expand_table(ctx->request, auth_request_str_escape); + var_expand(username, passdb->username_format, table); + *resp_r = NULL; resp = calloc(num_msg, sizeof(struct pam_response)); @@ -82,7 +9...
2012 Apr 26
2
LDA crashes on delivery (using sieve)
...800a34840, src_envelope_sender = 0x800a0d858 "mailtest at example.com", dest_user = 0x800a89040, dest_addr = 0x7fffffffebfd "test at example.com", final_dest_addr = 0x7fffffffebfd "test at example.com", dest_mailbox_name = 0x40356b "INBOX", dest_mail = 0x0, var_expand_table = 0x0, tried_default_save = false, saved_mail = false, save_dest_mail = false, mailbox_full = false, dsn = false} service_flags = 1027 user = (const __unknown__ *) 0x7fffffffebcc "test at example.com" errstr = (const __unknown__ *) 0x0 path = (const __u...
2015 Aug 06
3
Segfaults after upgrade to Debian Jessie
...rc_envelope_sender = 0x7fc57617e778 "xx at hotmail.com", dest_user = 0x7fc5761abcd0, dest_addr = 0x7fc57617edd0 "yy at xx.com", final_dest_addr = 0x7fc57617edd0 "yy at xx.com", dest_mailbox_name = 0x7fc575af8ad0 "INBOX", dest_mail = 0x0, var_expand_table = 0x0, tempfail_error = 0x0, tried_default_save = false, saved_mail = false, save_dest_mail = false, mailbox_full = false, dsn = false} input = <optimized out> mail_set = <optimized out> error = <optimized out> username = <optimize...
2012 Sep 26
2
mail size needed in dovecot sieve log line
This is a dovecot sieve log line: 2012-09-26T13:47:52+02:00 host/192.168.1.1 dovecot: [ID 583609 mail.info] lmtp(7565, user at domain): vTtJDTrrYlCNHQAAs1WjhA: sieve: msgid=<MSGID>: stored mail into mailbox 'INBOX' Would it be possible to have mail size logged here? MU -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type:
2007 Jan 15
1
patch for serdb-ldap which allows set user_global_mail variable
...stream_reply_add(reply, name, vals[i]); @@ -126,6 +127,16 @@ auth_stream_reply_add(reply, "gid", dec2str(conn->set.gid)); } + if (!seen_mail) { + if (*conn->set.user_global_mail != '\0') { + const struct var_expand_table *vars; + vars = auth_request_get_var_expand_table(auth_request, auth_request_str_escape); + string_t *str; + str = t_str_new(512); + var_expand(str, conn->set.user_global_mail, vars); + auth_stream_reply_add(reply, "mai...
2016 Dec 20
1
Latest Dovecot v2.2.devel (9bc8d9b) crashes on login and lmtp
...0xf65305b35804d500 <error: Cannot access memory at address 0xf65305b35804d500>, dest_user = 0x0, dest_addr = 0x7f917a561410 "\001", final_dest_addr = 0x7f917a561480 "q ", dest_mailbox_name = 0x2 <error: Cannot access memory at address 0x2>, dest_mail = 0x0, var_expand_table = 0x7f9177d93c33 <i_stream_read+83>, tempfail_error = 0x7f917a560a10 "", tried_default_save = 64, saved_mail = 71, save_dest_mail = 83, mailbox_full = 122, dsn = 145} lda_set = <optimized out> error = <optimized out> #12 client_deliver_next...
2015 Aug 06
0
Segfaults after upgrade to Debian Jessie
...e_sender = 0x7fc57617e778 "xx at hotmail.com", dest_user = 0x7fc5761abcd0, > dest_addr = 0x7fc57617edd0 "yy at xx.com", final_dest_addr = 0x7fc57617edd0 "yy at xx.com", > dest_mailbox_name = 0x7fc575af8ad0 "INBOX", dest_mail = 0x0, var_expand_table = 0x0, tempfail_error = 0x0, > tried_default_save = false, saved_mail = false, save_dest_mail = false, mailbox_full = false, dsn = false} > input = <optimized out> > mail_set = <optimized out> > error = <optimized out> >...
2006 Nov 18
2
Auth checking also the service
Hello everyone. I'm switching to dovecot from courier-imap and after some problems with Apple Mail client, now everything seems to be fine. The only problem that I have not solved yet is to check also the service (pop3, pop3s, imap, imaps) in the authentication phase. In courier-authlib I do this: MYSQL_SELECT_CLAUSE SELECT username, \ password, \
2005 Mar 30
2
test65 killed by SIGSEV
...os = 39 needed_space = 0 str = 0x806e488 "uid,homeDirectory,,,uidNumber,gidNumber" #1 0x080578a1 in ldap_lookup_pass (auth_request=0x8077a10, ldap_request=0x8077ab0) at passdb-ldap.c:181 conn = (struct ldap_connection *) 0x807a810 vars = (const struct var_expand_table *) 0x807a9a0 attr_names = (const char **) 0x807aa08 filter = 0x806e268 "(&(objectClass=posixAccount)(uid=dovetest))" base = 0x806e468 "ou=personnes, dc=pasteur, dc=fr" str = (string_t *) 0x806e268 #2 0x08050947 in auth_request_verify_plai...
2016 Oct 20
4
logging TLS SNI hostname
...... -servername something If you want to try out, try applying this patch... >From 066edb5e5c14a05c90e9ae63f0b76fcfd9c1149e Mon Sep 17 00:00:00 2001 From: Aki Tuomi <aki.tuomi at dovecot.fi> Date: Thu, 20 Oct 2016 16:06:27 +0300 Subject: [PATCH] login-common: Include local_name in login_var_expand_table This way it can be used in login_log_format --- src/login-common/client-common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/login-common/client-common.c b/src/login-common/client-common.c index d0a9c52..5964ec9 100644 --- a/src/login-common/client-common.c +++ b/src/login-commo...
2015 Jan 03
0
dovecot-lda segfaults with replication
..., session_id = 0x0, src_mail = 0x801c48840, src_envelope_sender = 0x0, dest_user = 0x801c87040, dest_addr = 0x7fffffffddaf "mail at maserver.de", final_dest_addr = 0x7fffffffddaf "mail at maserver.de", dest_mailbox_name = 0x403d68 "INBOX", dest_mail = 0x0, var_expand_table = 0x0, tempfail_error = 0x0, tried_default_save = false, saved_mail = false, save_dest_mail = false, mailbox_full = false, dsn = false} service_flags = 1027 user = 0x7fffffffdd9e "mail at maserver.de" errstr = 0x37f <Error reading address 0x37f: Bad...
2011 Feb 09
2
critical feature from version 1 not migrated to version 2 = authentication configuration database per IP
not possible make operation with dovecot version 2.x as was possible in version 1.x: requisites description: connect to dovecot service on IP1 - dovecot must serve users that related to domain1 located in database1 connect to dovecot service on IP2 - dovecot must serve users that related to domain2 located in database2 login must be with username that form not as "user at domain" but