Ran across this issue today, posting for future reference.
User having issues with some emails throwing an error and not loading in webmail clients.
Error as seen by the user when attempting to open an email: 'Could not load message from server'
Error as seen in the logs: Invalid quoted-printable input trailer: '=' not followed by two hex digits
googling only gave me this from a PLESK support forum:
User having issues with some emails throwing an error and not loading in webmail clients.
Error as seen by the user when attempting to open an email: 'Could not load message from server'
Error as seen in the logs: Invalid quoted-printable input trailer: '=' not followed by two hex digits
googling only gave me this from a PLESK support forum:
The original dovecot.conf simply had that line as +NAMESPACE and replacing that with the above line fixed it.Cause
Email message does not correspond to RFC 2045, section 6.7 "Quoted-Printable Content-Transfer-Encoding".
Resolution
In this situation Dovecot acts in accordance to RFC. Therefore, this is expected behavior.
However, it is possible to cancel the conversion of the sections of the emails into a binary representation on the IMAP server side. To do this use the following instruction:
- Connect to the server via SSH.
- Add the following line in /etc/dovecot/dovecot.conf: (see note below)
imap_capability = "IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS MOVE"
- Reload Dovecot configuration:
# service dovecot reload
Last edited by a moderator: