Heading 2
There is [https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3088](a bug) in https://claws-mail.org, which
does not show headers when displaying a S/MIME encrypted email.
Because I get more and more of these emails, I wanted to see if I could
fix it.
But to be able to fix it, I needed to build claws-mail from the source,
so I followed [https://claws-mail.org/git.php?section=projects](the instructions) on the website, but it didn’t mention
with (ubuntu) packages are needed to run autogen.sh. So I ran it
multiple times to find the list.
I found you need the following packages to be able to build claws-mail
- bison
- flex
- libtoolize
- libtool
- aclocal
- autotools-dev
- automake
- libgtk2.0-dev
- libcurl4-gnutls-dev
- libgpgme-dev libgnutls28-dev
- libetpan-dev
nemiver is a debugger with an easy to use interface, better than ddd.
make clean autogen.sh CXXFLAGS="-O0" CFLAGS="-O0"
prefs_common.display_header_pane ?
before messageview.c#1439, msginfo and mimeinfo->msginfo contain the correct headers. at messageview.c#1521 the function message_find_part_depth_first uses the tmpfile which only contains the decrypted messages
summaryview.c:3843:TIMING summary_display_msg_full : 69s406ms
imap.c:1579:trying to fetch cached /home/stefan/.claws-mail/imapcache/outlook.office365.com/stefan.ubbink@sidn.nl/INBOX/22055
imap.c:1589:message 22055 has been already fully cached.
procheader.c:174:generic_get_one_field: empty line
message/rfc822 (offset:0 length:26564 encoding: 6)
application/pkcs7-mime (offset:2114 length:24450 encoding: 4)
smime.c:223:Checking S/MIME signature
smime.c:239:no boundary
file-utils.c:58:TIMING safe_fclose : 0s011ms
procheader.c:174:generic_get_one_field: empty line
procheader.c:174:generic_get_one_field: empty line
procheader.c:174:generic_get_one_field: empty line
procheader.c:174:generic_get_one_field: empty line
procheader.c:174:generic_get_one_field: empty line
message/rfc822 (offset:0 length:15160 encoding: 6)
multipart/related (offset:91 length:15069 encoding: 6)
multipart/alternative (offset:278 length:6983 encoding: 6)
text/plain (offset:408 length:673 encoding: 0)
text/html (offset:1221 length:5991 encoding: 3)
image/png (offset:7438 length:7675 encoding: 4)
file-utils.c:58:TIMING safe_fclose : 0s007ms
mimeview.c:543:signed mail
sgpgme.c:110:err code 0
messageview.c:1291:found part 6/related
The function procmime_scan_file_with_offset shows the mime parts with 4 spaces indentation. This is called from the procmime_scan_file function which is called from smime.c and messageview.c .
how to decrypt S/MIME by hand: https://security.stackexchange.com/questions/45222/smime-email-decryption-key-with-openssl