Created attachment 1231 [details] Unencrypted message containing OpenPGP ASCII armor encryption headers Unencrypted messages like the attached one are currently marked as encrypted in the summary and result in encryption errors when displayed.
Created attachment 1232 [details] Patch to make the encryption detection more strict The first patch in the attached patch set makes the encryption detection a bit more strict by ignoring stray OpenPGP ASCII armor encryption headers that aren't located at the start of the buffer or line. The last two patches are cosmetic.
Changes related to this bug have been committed. Please check latest Git and update the bug accordingly. You can also get the patch from: http://git.claws-mail.org/ http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=86a989f286bc2ba952bf50a84615e43e42ccc535 Author: Paul <paul@claws-mail.org> Date: Sat Apr 13 07:54:52 2013 +0100 fix bug #2879, 'Plain text mails treated as encrypted' patch by Fabian Keil
thanks for the patch!