Version: 4.7 (using KDE 4.7.3)
If you try to send encrypted pgp/mime email that contain 8bit characters then main Content-Transfer-Encoding header will be set to base64, but it shoud contain 7Bit in this case.
Here is a part of problematic message:
Content-Type: multipart/encrypted; boundary="nextPart5141910.e6Y767UtIz"; protocol="application/pgp-encrypted"
Content-Disposition: inline; filename="msg.asc"
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.11 (GNU/Linux)
As a result other mail client fail to decrypt and verify such mail - they try to decode base64 stream which is actually absent here.
Steps to Reproduce:
1) Create a new message with some non 7bit characters, e.g. "Тестовое сообщение".
2) Enable PGP/MIME encryption for message.
3) Put it to queue or send it.
Note, that only main(external) Content-Transfer-Encoding header should contain 7Bit, some headers are also included into encrypted stream - they are to be defined depending on actual message data.
*** This bug has been marked as a duplicate of bug 289728 ***
This is not actually duplicate of bug 289728. That bug is similar to this one, but that is about inline (deprecated) openpgp format, but this one is about newer pgp/mime format.
Created attachment 71583 [details]
This fixes this bug for me, but I'm not sure about potential regressions. And it does not fix bug 289728.
A Patch is now in review that should fix this bug:
Git commit 597f7a5f56061d0107b3264b6453cf7b09cbfc6a by Sandro Knauß.
Committed on 03/03/2013 at 19:50.
Pushed by knauss into branch 'KDE/4.10'.
Fixing ContentTransferEncoding for signed&encrypted messages
Related: bug 289728
M +31 -7 messagecomposer/util.cpp
*** Bug 296629 has been marked as a duplicate of this bug. ***
*** Bug 109229 has been marked as a duplicate of this bug. ***
*** Bug 263155 has been marked as a duplicate of this bug. ***
I am using KMail 4.14.2 on Ubuntu 14.04 and am still experience this issue. Please reopen.
Your message contains a QUOTED-PRINTABLE encoded composite MIME part, which is
not allowed by Internet standards (see RFC2045, section 6.4, paragraph 5). In
plain English, an error in your mail program, or in a firewall or mail gateway
between your computer and LISTSERV, has caused an error in the format of your
Excerpt from the message returned by listserv:
User-Agent: KMail/4.14.2 (Linux/3.13.0-44-generic; KDE/4.14.2; x86_64; ; )
Content-Type: multipart/signed; boundary="nextPart1643101.pK0q01Qtpq"; micalg="pgp-sha1"; protocol="application/pgp-signature"
Content-Type: multipart/mixed; boundary="nextPart1991752.9pWY7iA1iV"
This is a multi-part message in MIME format.
My original problem description can be found in bug #296629.
P.S: This message also has two 500KiB PDF attachments:
Content-Disposition: attachment; filename="[…].pdf"
Content-Type: application/pdf; name="[…].pdf"
Just ran into this again. Please reopen.