search for: static_tab

Displaying 13 results from an estimated 13 matches for "static_tab".

2006 May 15
1
dovecot ldap auth bind and different directories
...src/auth/auth-request.c 2006-05-15 12:37:06.000000000 -0400 @@ -852,6 +852,7 @@ auth_request_get_var_expand_table(const struct auth_request *auth_request, const char *(*escape_func)(const char *)) { + char *str; static struct var_expand_table static_tab[] = { { 'u', NULL }, { 'n', NULL }, @@ -869,7 +870,27 @@ if (escape_func == NULL) escape_func = escape_none; - tab = t_malloc(sizeof(static_tab)); + /* count the number of domain components + in the given...
2017 Nov 01
2
Bug: lmtp proxy does not quote local parts with spaces
...ecognised. -- David Zambonini -------------- next part -------------- --- dovecot-2.2.33.2.original/src/lib-mail/mail-user-hash.c 2017-10-05 18:10:44.000000000 +0100 +++ dovecot-2.2.33.2/src/lib-mail/mail-user-hash.c 2017-10-31 16:21:20.424866755 +0000 @@ -33,9 +33,13 @@ tab = t_malloc(sizeof(static_tab)); memcpy(tab, static_tab, sizeof(static_tab)); tab[0].value = username; - tab[1].value = t_strcut(username, '@'); - tab[2].value = strchr(username, '@'); - if (tab[2].value != NULL) tab[2].value++; + tab[2].value = strrchr(username, '@'); + if (tab[2].value != NU...
2017 Nov 03
1
Bug: lmtp proxy does not quote local parts with spaces
...ata, rcpt); return 0; -------------- next part -------------- --- dovecot-2.2.33.2/src/lib-mail/mail-user-hash.c 2017-10-05 18:10:44.000000000 +0100 +++ dovecot-2.2.33.2.reverse-domaincut/src/lib-mail/mail-user-hash.c 2017-11-02 16:04:03.724866755 +0000 @@ -33,9 +33,13 @@ tab = t_malloc(sizeof(static_tab)); memcpy(tab, static_tab, sizeof(static_tab)); tab[0].value = username; - tab[1].value = t_strcut(username, '@'); - tab[2].value = strchr(username, '@'); - if (tab[2].value != NULL) tab[2].value++; + tab[2].value = strrchr(username, '@'); + if (tab[2].value != NU...
2010 May 20
1
Patch for logging variables
...e_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; *************** *** 115...
2016 Oct 06
2
[imap-login] SSL related crashes using the latest 2.2.25
...:541 tab = 0x1c37e98 #3 client_get_log_str (client=0x27b85b0, msg=0x1c37e38 "proxy: SSL certificate not received from \314-A\235q\210\021\b\354\062Lz?)\367.\002 \031\233 \362w?\224\356K7\343\224 \002\037\364!+\266\371\277O`K\021\b\315@:6") at client-common.c:644 static_tab = {{key = 115 's', value = 0x0, long_key = 0x0}, {key = 36 '$', value = 0x0, long_key = 0x0}, {key = 0 '\000', value = 0x0, long_key = 0x0}} func_table = {{key = 0x7f1afa1b2d0c "passdb", func = 0x7f1afa1a7c70 <client_var_expand_func_passdb>}, {key...
2017 Oct 26
2
Bug: lmtp proxy does not quote local parts with spaces
On 26/10/2017 18:38, Alexander Dalloz wrote: > Am 26.10.2017 um 12:20 schrieb David Zambonini: >> >> There seems to be a bug with RFC822 processing in ltmp proxying that >> doesn't >> quote local parts that, for example, contain spaces. > > Newer related RFCs are RFC 5321 and 5322. Typo, meant to say RFC2822, which they still supercede, not that the
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:
2010 Aug 07
2
piegonhole seg fault with NULL user
...tr; *p != '\0'; p++) { (gdb) bt full #0 t_strcut (str=0x0, cutchar=64 '@') at strfuncs.c:277 p = <value optimized out> #1 0x4009c28b in get_var_expand_table (service=<value optimized out>, input=<value optimized out>) at mail-storage-service.c:478 static_tab = {{key = 117 'u', value = 0x0, long_key = 0x400f12ce "user"}, {key = 110 'n', value = 0x0, long_key = 0x400f0966 "username"}, {key = 100 'd', value = 0x0, long_key = 0x400f096f "domain"}, {key = 115 's', value =...
2017 Jul 02
2
Dovecot 2.2.31: IMAP core dumped after upgrade
...__FUNCTION__ = "mail_namespaces_init_location" #4 0x00007f1684012e9e in shared_storage_get_namespace (_ns=0x7ffd248bc948, _name=0x7ffd248bc940) at shared-storage.c:328 _storage = 0xd60fd8 list = 0xd607c8 storage = 0xd60fd8 user = 0xd554f8 static_tab = {{key = 117 'u', value = 0x0, long_key = 0x7f16840bda70 "user"}, {key = 110 'n', value = 0x0, long_key = 0x7f16840b092a "username"}, {key = 100 'd', value = 0x0, long_key = 0x7f16840b0938 "domain"}, { key = 104 '...
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 : :
2010 Jan 25
2
dovecot 1.2.9 crash on subscribe with shared namespace
...ret = <value optimized out> static_tab = {{key = 117 'u', value = 0x0, long_key = 0x7fc4c1017c0b "user"}, {key = 110 'n', value = 0x0, long_key = 0x7fc4c10151ea "username"}, {key = 100 'd', value = 0x0, long_key = 0x7fc4c10151f3 "domain"}, {key = 104 'h', value = 0x0, lo...
2009 Apr 07
3
Segfault in ACL Plugin + user shared folders
Hi Timo, I have another problem, this time with user shared folders: User "markus" shared the folder "ForTest" to test: SETACL "INBOX/ForTest" test akxeilrwts dovecot-acl and shared-mailboxes.db have been successfully updated. As user "test" the folder (and "#User" namespace) is not visible. When I configure the shared namespace with