Displaying 11 results from an estimated 11 matches for "get_var_expand_table".
2006 Jan 18
2
%d interpolation problem fixed
...s that we're getting the initial value from vpopmail
and try the same thing but with no default_mail_env entry at all. It
works perfectly. I say some new words I have learned from my wife.
I don't know where the failure lies, but I can tell you that the
'user' value passed to get_var_expand_table (which comes from getenv
("USER")) contains only the first part of the email address. That's
probably not the intention, because get_var_expand_table then tries
to split it on @.
As it happens the home-directory value is passed to
get_var_expand_table as the expansion for %h,...
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 :
:
2011 Apr 30
1
linking problems of dovecot 2.0.3
On Mon, 2010-09-20 at 16:10 +0100, Timo Sirainen wrote:
> > ./.libs/liblogin.a(client-common.o): In function `get_var_expand_table':
> > /tmp/dovecot/BUILD/dovecot-2.0.3/src/login-common/client-common.c:372:
> > undefined reference to `login_binary'
>
> The binary is expected to provide this symbol. This can't be fixed
> without a large API change. Maybe for v2.1.
I fixed this now in v2.1:
ht...
2011 May 27
1
Client IP log variable for proxy/director setups?
...ector/proxy setups. It's
clearly already passed around in client->user->remote_ip but at this point,
I don't see anyway to get it into the logs and it would take me ages to
figure out the Right place to add it since client->user doesn't seem to
be available in client-common.c: get_var_expand_table(..). Perhaps I'm
missing something obvious?
--
Kelsey Cummings - kgc at corp.sonic.net sonic.net, inc.
System Architect 2260 Apollo Way
707.522.1000 Santa Rosa, CA 95407
2007 Nov 10
2
Request for variable unique to each server?
I've been looking for a variable I can use in my dovecot.conf within the INDEX=
setting so I can have one index dir per imap server on NFS. I've been looking at
http://wiki.dovecot.org/Variables but no variable seems to contain something like
server hostname, and I've been hunting for the variable expansion code in dovecot
but haven't been able to find it. %l (local IP) won't
2006 Sep 05
1
coding techniques
...? Something like:
if (condition) {
statement 1;
} else {
statement 2;
}
Then the insertion of debug statements doesn't inflict surprise.
(No, I didn't fall into this hole. But it is a trap waiting to happen.)
Secondly, code duplication. To give one example: 'get_var_expand_table()'
appears in both 'deliver/deliver.c' and 'master/mail-process.c'. (There
is also a similar looking function in 'auth/auth-request.c'.) Perhaps
consideration should be given to merging such instances. For instance, my
woes with "%i"-expansion being treated...
2010 Sep 19
1
linking problems of dovecot 2.0.3
...-Wl,/tmp/dovecot/BUILD/dovecot-2.0.3/src/lib-dovecot/.libs -Wl,-rpath
-Wl,/usr/lib64/dovecot -L/usr/lib64/ -lssl -lcrypto -ldl -lpthread
../lib-dovecot/.libs/libdovecot.so -lrt -Wl,-soname
-Wl,libdovecot-login.so.0 -o .libs/libdovecot-login.so.0.0.0
./.libs/liblogin.a(client-common.o): In function `get_var_expand_table':
/tmp/dovecot/BUILD/dovecot-2.0.3/src/login-common/client-common.c:372:
undefined reference to `login_binary'
./.libs/liblogin.a(client-common.o): In function `client_create':
/tmp/dovecot/BUILD/dovecot-2.0.3/src/login-common/client-common.c:50:
undefined reference to `client_vfuncs...
2016 Oct 06
2
[imap-login] SSL related crashes using the latest 2.2.25
...= 0xffffffffffffffff <Address 0xffffffffffffffff out of
bounds>
#1 0x00007f1afa1a7d2f in get_var_expand_users (tab=0x1c37e98,
user=0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>) at
client-common.c:523
i = <value optimized out>
#2 0x00007f1afa1a7f29 in get_var_expand_table (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:541
tab = 0x1c37e98
#3 client_get_log_str (client=0x27b...
2010 Aug 07
2
piegonhole seg fault with NULL user
...received signal SIGSEGV, Segmentation fault.
t_strcut (str=0x0, cutchar=64 '@') at strfuncs.c:277
277 for (p = str; *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"}, {k...
2016 Oct 20
4
logging TLS SNI hostname
...d_table login_var_expand_empty_tab[] = {
{ '\0', NULL, "auth_username" },
{ '\0', NULL, "auth_domain" },
{ '\0', NULL, "listener" },
+ { '\0', NULL, "local_name" },
{ '\0', NULL, NULL }
};
@@ -581,6 +582,7 @@ get_var_expand_table(struct client *client)
tab[24].value = tab[21].value;
}
tab[25].value = client->listener_name;
+ tab[26].value = client->local_name == NULL ? "" : client->local_name;
return tab;
}
--
2.7.4
2016 Oct 20
2
logging TLS SNI hostname
On 20.10.2016 15:41, Arkadiusz Mi?kiewicz wrote:
> On Thursday 20 of October 2016, Aki Tuomi wrote:
>> On 18.10.2016 14:16, Arkadiusz Mi?kiewicz wrote:
>>> On Monday 17 of October 2016, KT Walrus wrote:
>>>>> On Oct 17, 2016, at 2:41 AM, Arkadiusz Mi?kiewicz <arekm at maven.pl>
>>>>> wrote:
>>>>>
>>>>> On Monday 30