Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Dovecot Invalid quoted-printable input trailer

Discussion in 'E-mail Discussion' started by Lyttek, Feb 23, 2019.

Tags:
  1. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    776
    Likes Received:
    4
    Trophy Points:
    168
    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:
    The original dovecot.conf simply had that line as +NAMESPACE and replacing that with the above line fixed it.
     
    #1 Lyttek, Feb 23, 2019
    Last edited by a moderator: Mar 13, 2019
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    776
    Likes Received:
    4
    Trophy Points:
    168
    The referenced instructions say:

    Add Dovecot options
    You can also add options that do not exist in the Configure Dovecot interface to configure the Dovecot mail server. To do this, select the tab that corresponds to the Dovecot template that you wish to modify.

    The tabs do not exist on my install??
     
  4. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    776
    Likes Received:
    4
    Trophy Points:
    168
    I also attempted to follow those instructions to add the afrementioned text to the main.local file. It did not appear to work, however I may have not added it to the correct location within that file.
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi @Lyttek,

    This is an error in our documentation. It should instruct you to use the MailServer Configuration interface in Web Host Manager. Documentation case DOC-12241 is open to correct this.

    The document is referring to the tabs below that section of the document, on the document itself (e.g. dovecot.conf, sni.conf).

    Can you let me know the full steps you took and the exact changes you made?

    Thank you.
     
  6. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    776
    Likes Received:
    4
    Trophy Points:
    168
    I've edited the main.local file and attempted to place the new imap_capability string (mentioned above) into several different areas, for example:

    protocol imap {
    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"
    # If nothing happens for this...


    or

    # Override the IMAP CAPABILITY response. If the value begins with '+',
    # add the given capabilities on top of the defaults (e.g. +XFOO XBAR).
    [%- IF protocol_imap.imap_capability.defined %]
    imap_capability = [% protocol_imap.imap_capability %]
    [%- ELSE %]
    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"
    [%- END %]


    After each edit, I've done the following:

    /usr/local/cpanel/scripts/builddovecotconf
    service dovecot reload
    /scripts/restartsrv_dovecot

    Doing all that has no effect.
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Lyttek,

    Could you open a support ticket so we can take a closer look? You can post the ticket number here and we'll link this thread to it.

    Thank you.
     
  8. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    776
    Likes Received:
    4
    Trophy Points:
    168
    Ticket:
    11936359

    I posted the link to this thread in the ticket.
     
  9. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    To update, here's the answer from one of our Technical Analysts:

    Thank you.
     
  10. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    776
    Likes Received:
    4
    Trophy Points:
    168
    Putting the text as described above seems to have corrected the problem. Thanks!
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice