From kde-pim Wed Jun 27 22:21:19 2007 From: acp Date: Wed, 27 Jun 2007 22:21:19 +0000 To: kde-pim Subject: Re: [Kde-pim] Disabling signing after saving a draft Message-Id: <4682E2DF.1020307 () free ! fr> X-MARC-Message: https://marc.info/?l=kde-pim&m=118298294629581 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Alexis Papadopoulos wrote: > However, when saving a draft, both flags seem to always be set on unknown, > even if I save a message after encrypting/signing it with gpg. I managed to get the whole thing working for maildir accounts (which was the one I was working with on my test environment). It seems to work pretty well with a few modifications. However, when trying to test it with an imap account, I realized that apparently the messages are not completely parsed. More precisely, the X-KMail-{Signature,Encryption}-State headers (at least those two) are not read as with maildir accounts. I'm trying now to see why it is so. From the search I've done, imap mails seem to be parsed using the KMessage::fromString method (btw, the bool parameter is never used, therefore always default to FALSE ; setting it to TRUE, which would force setting the status of the message, along with the signature and encryption state, didn't solve my problem, therefore something's wrong with the parsing itself). If someone can point me to the right files/methods for the parsing of imap-related mails, so that it accelerates my search when I resume tomorrow, I would be greatful. The only thing I have for now is that it is somehow related to the DwMessage structure which apparently is defined outside kmail sources, mimelib I think it is... Anyway, any hints are welcomed, Alexis -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGguLemKVIM5KbtKYRCGZtAKC/6/UkwPyiE4nA1/8ThbD2Fci5YQCeLpmv x3Op7N1Gnzd56cYqlkPO/aA= =JsmR -----END PGP SIGNATURE----- _______________________________________________ kde-pim mailing list kde-pim@kde.org https://mail.kde.org/mailman/listinfo/kde-pim kde-pim home page at http://pim.kde.org/