On 2/4/25 7:00 PM, Wietse Venema via Postfix-users wrote:
You forgot to "postfix reload", or you edited the wrong master.cf
file.

What is the output from:

     postconf -Mf submission/inet

It should show the new header_checks setting.

These master.cf sttings override main.cf so no need to delete header_checks 
there.

        Wietse

Sorry for me perhaps bugging this again! I pondered how I could possibly be using the wrong file, but I can't think of anything.

I did a reload, and it seems to be listed by postconf:

# postconf -Mf submission/inet
submission inet  n       -       n       -       -       smtpd
    -o syslog_name=postfix/submission
    -o smtpd_tls_security_level=encrypt
    -o smtpd_tls_auth_only=yes
    -o local_header_rewrite_clients=static:all
    -o {header_checks=pcre:{{/^Received:/ IGNORE}}}
-o smtpd_recipient_restrictions=reject_unknown_sender_domain,reject_invalid_helo_hostname,reject_unknown_helo_hostname,permit_sasl_authenticated,permit_mynetworks,reject
    -o smtpd_reject_unlisted_recipient=no
    -o smtpd_client_restrictions=
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_relay_restrictions=
    -o milter_macro_daemon_name=ORIGINATING
# postfix reload
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: policy_time_limit=3600
postfix/postfix-script: refreshing the Postfix mail system
#

Yet "Received" still seems present in full, you can see it with this e-mail I'm typing in this moment.

Regards,

ell1e
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to