Knowledgebase

Email message headers "X-Ham-Reports" and "X-Spam-Reports" output is not readable. Print

  • 0

Symptoms

The email message headers "X-Ham-Reports" and "X-Spam-Reports" are not readable due to encoding.

 

Description

We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-50170. Follow this article to receive an email notification when a solution is published in the product. 

 

Workaround

If necessary you can disable the RFC2047 encoding via the following steps.

  1. Make a backup of the "default_spam_scan" file:

    mkdir -p /root/cptechs/
    cp -a /usr/local/cpanel/etc/exim/acls/ACL_SPAM_SCAN_BLOCK/default_spam_scan /root/cptechs/
  2. Remove the RFC2047 reference using sed:

    sed -i 's|rfc2047:\${\(.*\)}|\1|' /usr/local/cpanel/etc/exim/acls/ACL_SPAM_SCAN_BLOCK/default_spam_scan
  3. Remove the headerwrap_130 reference using sed:

    sed -i 's|\${headerwrap_130:\(.*\)}|\1|' /usr/local/cpanel/etc/exim/acls/ACL_SPAM_SCAN_BLOCK/default_spam_scan
  4. Rebuild the Exim configuration and restart the Exim service:

    /scripts/buildeximconf && /scripts/restartsrv_exim

Was this answer helpful?
Back