Article ID: 124190, created on Jan 14, 2015, last review on Jan 14, 2015

  • Applies to:
  • Plesk Automation 11.5


When you try to open email in webmail on mobile device, HTML mails are not readable on mobile devices.


Most people modify Postfix so mail will not be caught in spam filters or the mail server be blacklisted. It is done by adding the following in /etc/postfix/header_checks:

    /^Received: .*/         IGNORE
    /^X-Originating-IP:/                    IGNORE
    /^X-Mailer:/                            IGNORE
    /^Mime-Version:/                        IGNORE

And in /etc/postfix/

    header_checks = regexp:/etc/postfix/header_checks

IGNORE mime-version breaks RFC2045, so HTML mails are not shown correctly. Mime-Version parameter should be used with REPLACE Mime-Version: 1.0 instead.


Correct /etc/postfix/header_checks as below:

    # less /etc/postfix/header_checks |grep -v "#"

    /^Received: .*\(Authenticated sender:.*/         IGNORE
    /X-Originating-IP:.*/    IGNORE
    /X-Mailer:.*/            IGNORE
    /^Mime-Version: 1.0.*/   REPLACE Mime-Version: 1.0

In /etc/postfix/ file, information about headers should be added as below:

    # grep -ir header /etc/postfix/
    # add header for authenticated mail to strip IP

    smtpd_sasl_authenticated_header = yes
    header_checks = regexp:/etc/postfix/header_checks

Search Words

plesk webmail HTML not readable

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF