<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 10/12/2020 14:58, Steve Akerman
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:EAFD8E39-AA31-4C81-957C-85E2E77F0CE6@aboukir.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
line-break: after-white-space;" class="">Good afternoon
<div class=""><br class="">
</div>
<div class="">I have been using Dovecot with great success for
several months now with one problem:</div>
<div class=""><br class="">
</div>
<div class="">I have received several messages (3 to date out of
a much larger number) which cause Dovecot LMTP to drop the
connection with sendmail after only receiving the first part
of the message.</div>
<div class=""><br class="">
</div>
<div class="">Dovecot saves the first part to INBOX, and then
drops the link with sendmail as it sees the rest of the data
from sendmail as new (and invalid) commands</div>
<div class=""><br class="">
</div>
<div class="">Sendmail sees the delivery as unsuccessful and
requeues the message, so the cycle continues until i kill the
queue</div>
<div class=""><br class="">
</div>
<div class="">These messages are all Multipart MIME</div>
<div class=""><br class="">
</div>
<div class="">I have attached an extract from the log which
shows the above sequence</div>
<div class=""><br class="">
</div>
<div class="">Finally, I have kept one such message from the
sendmail queue (df and qf) should this be useful, but prefer
not to post here as not sanitised </div>
<div class=""><br class="">
</div>
<div class=""><span style="caret-color: rgb(0, 0, 0); color:
rgb(0, 0, 0);" class="">Any help in correcting my
configuration would be appreciated.</span></div>
<div class=""><span style="caret-color: rgb(0, 0, 0); color:
rgb(0, 0, 0);" class=""><br class="">
</span></div>
<div class=""><span style="caret-color: rgb(0, 0, 0); color:
rgb(0, 0, 0);" class="">Thanks</span></div>
<div class=""><span style="caret-color: rgb(0, 0, 0); color:
rgb(0, 0, 0);" class=""><br class="">
</span></div>
<div class=""><span style="caret-color: rgb(0, 0, 0); color:
rgb(0, 0, 0);" class="">Steve</span></div>
<div class=""><br class="">
</div>
<font face="Menlo"><snip></font><span
style="font-variant-ligatures: no-common-ligatures" class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal;" class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal;" class=""></div>
</div>
</span><br class="">
<span style="font-variant-ligatures: no-common-ligatures"
class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal;" class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal;" class=""> </div>
</div>
</span>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> </span></div>
</div>
</blockquote>
<p>Hi Steve<br>
</p>
<p>strange as it sounds, looks like your mta is sending the lmtp end
of message sequence (<CRLF>.<CRLF>)in the middle of an
email.</p>
<p>You might be able to debug it in dovecot with lmtp_rawlog_dir
setting which will show the input and output dialog of the lmtp
session.</p>
<p>John<br>
</p>
</body>
</html>