<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 22/07/2019 13:32, Timo Sirainen via
dovecot wrote:<br>
</div>
<blockquote type="cite"
cite="mid:C9F39515-D527-4A2D-8BE4-1E35F541CA23@sirainen.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
On 21 Jul 2019, at 23.14, Dirk Koopman via dovecot <<a
href="mailto:dovecot@dovecot.org" class=""
moz-do-not-send="true">dovecot@dovecot.org</a>> wrote:<br
class="">
<div>
<blockquote type="cite" class=""><br
class="Apple-interchange-newline">
<div class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<div class="moz-cite-prefix"><tt class="">Some
supplemental information:</tt><tt class=""><br
class="">
</tt><tt class=""><br class="">
</tt><tt class="">This is happening on every email
delivered into Dovecot via LMTP. The curious things
are that the message is a) successfully delivered and
b) sieved into the correct directory. </tt><tt
class=""><br class="">
<br class="">
Another observation is that:<br class="">
</tt><tt class=""><br class="">
</tt><font class="" size="+1"><tt class="">mail_deliver_ctx_get_log_var_expand_table</tt></font><font
class="" size="+1"><tt class=""><br class="">
</tt></font><br class="">
is defined globally in core/src/lib-lda/mail-deliver.c
(and used there) but the ONLY external call in the
entire dovecot tree is from
pigeonhole/src/plugins/lda-sieve/lda-sieve-log.c. <br
class="">
<br class="">
I am not using lda but it seems to be part of core. So,
as I am only using lmtp, why is pigeonhole using
lda-sieve at all? <br class="">
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>It's part of lib-lda, which is also used by lmtp.</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<div class="moz-cite-prefix"> Can I work around the error
message by some config magic (as I did by calling the
correct plugin for imap_sieve) or is this an actual bug?
Could this be fixed simply by including mail-deliver.h
in lda-sieve-log.c? <br class="">
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>I think you're not linking lmtp binary correctly somehow.
That symbol should be part of it:</div>
<div><br class="">
</div>
<div>
<div>% nm /usr/libexec/dovecot/lmtp | grep
mail_deliver_ctx_get_log_var_expand_table</div>
<div>0000000000061960 T
mail_deliver_ctx_get_log_var_expand_table</div>
<div><br class="">
</div>
</div>
</div>
</blockquote>
<br>
I agree, but I am using the ubuntu packages as provided by
yourselves (not Ubuntu's). I'm guessing this must be some kind of
linking/packaging issue as I have been using your packages for some
years now and have not seen this particular error before. It only
started appearing after I upgraded to 2.3.7 on July 19th. <br>
<br>
All my executables in /usr/lib/dovecot/ are stripped so I cannot
check my versions.<br>
<br>
Dirk<br>
</body>
</html>