How to rewrite headers in outgoing mail messages on a Plesk server



1 comment

  • Avatar
    Ehud Ziegelman (Edited )

    Hi Mikhail Shport,


    When placing the call via:

    postconf -e "header_checks = pcre:/etc/postfix/header_checks"


    What I get is:

    warning: pcre:/etc/postfix/header_checks is unavailable. unsupported dictionary type: pcre


    Can you please see, what a fix is required?


    Could it be you missed the mapping of it?


    cd /etc/postfix

    postmap header_checks

    postconf -e 'smtp_header_checks = regexp:/etc/postfix/header_checks'

    service postfix reload


    Install PCRE for postfix?


    sudo apt install postfix-pcre


    And yet... it doesn't work. Is it called "on time" before the email is finalized?


    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request