kmail2/kontact Trying to send "text only" email through SMTP (Kolab Server) sometimes it delivers only a fraction (first single line) of the email. If the text of the email starts with two simple dots like <--nsip--> . . Hello friend <--snip--> it delivers only the first line (a single dot .) If the mail was also containing attachments those are also not delivered. reproducible: approx 50%, sometimes it works, sometimes not.
Confirmed, my fix for a similar problem (ksmtp commit 6194f93, https://phabricator.kde.org/D9972) doesn't appear to be enough for this particular testcase. (My testcase was attaching a text file whose first line was just a dot)
https://phabricator.kde.org/D12434
Git commit 988e0649860952ed05501502a62af3ccc75afc8f by David Faure. Committed on 22/04/2018 at 09:57. Pushed by dfaure into branch 'Applications/18.04'. KSMTP: Fix sending emails where a line starts with a dot Summary: My previous fix was incomplete because it only considered lines with a single dot, and not the case where two such lines followed each other. FIXED-IN: 18.04 Test Plan: Updated unittest. Reviewers: dvratil, mlaurent Subscribers: #kde_pim Differential Revision: https://phabricator.kde.org/D12434 M +7 -2 autotests/smtptest.cpp M +1 -1 src/sendjob.cpp https://commits.kde.org/ksmtp/988e0649860952ed05501502a62af3ccc75afc8f