Hi, I have just stumbled upon the same problem as described here:
https://sourceforge.net/p/isync/mailman/message/31482734/ ... which is basically that mbsync ignores emails that have no body. The response, then, was that: > even when the body is empty, the header should be > terminated by an empty line. > it wouldn't be particularly hard to make this code do something > reasonable under these circumstances (maybe your patch is sufficient - i > didn't check), but i originally added it as a guard for "something is > clearly wrong". ... but the thing is, i *am* getting messages like this... and it's causing me some problems, because, ultimately, I'm "losing" mail as that mail never makes it to my workstation. Dovecot actually delivers those emails and allows you to browse them. Other clients can read them, for example Rainloop mail has no problems showing the above message. So i feel it's really a bug in mbsync. > how are you getting these messages? This is what happens, for example, when you send a test message with the plain old "mail" command like this: mail -s test -r anar...@example.net -- anar...@example.com < /dev/null I've also lost an email from a colleague which, interestingly, only wanted to send me a quick messagse with the following: ``` [...] Subject: 35 hosts down! (In case you hadn't noticed yet) Message-ID: <7d0c117a-2b46-47d2-0585-a0e0333d0...@torproject.org> Date: Wed, 9 Dec 2020 09:44:30 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit ``` ... and that's it. only a single newline (0x0a) at the end, no body whatsoever. apparently, that's something Thunderbird 78 can do? maybe if you don't provide a text in the body at all? Mailing list software will also send you messages like this when you unsubscribe: ``` [...] Subject: =?utf-8?q?You_have_been_unsubscribed_from_the_people_mailing_lis?= =?utf-8?q?t?= [...] From: people-boun...@lists.netdevconf.org [...] Message-ID: <mailman.0.1508792218.15356.peo...@lists.netdevconf.org> Date: Mon, 23 Oct 2017 22:56:58 +0200 Precedence: bulk X-BeenThere: peo...@lists.netdevconf.org X-Mailman-Version: 2.1.18 List-Id: NetDev conference public mailing list <people.lists.netdevconf.org> X-List-Administrivia: yes Errors-To: people-boun...@lists.netdevconf.org Sender: "people" <people-boun...@lists.netdevconf.org> ``` again, no body at all, a single newline at the end of the file on disk. in any case, it seems worth fixing. :) thanks for all your hard work! a. -- Antoine Beaupré torproject.org system administration _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel