Every time my postfix servers sent emails at the destination the emails headers include the following:by suppaserver.example.dev (Postfix) with ESMTPSA id 79D412E1A3AHow can I remove the (Postfix) information. My ideia is to send the emails without telling the SMTP server software used to send email.I tried to set a header check to REPLACE this but it doesn't seem to work, maybe I'm missing something. My header_checks file:/^.*\(Postfix\).*/ REPLACEThen I've change my main.cf to include:header_checks = regexp:/etc/postfix/header_checksmime_header_checks = regexp:/etc/postfix/header_checksThen I made a db file with: postmap /etc/postfix/header_checks and restarted postfix systemctl restart postfix.I also tested my header checks using:# postmap -q by suppaserver.example.dev (Postfix) with ESMTPSA id BFA7C2406FF regexp:/etc/postfix/header_checks REPLACESince it outputted REPLACE I guess the replace / regex rule is working fine. So why doesn't it work? Is this header included by my own server or somehow by Gmail or the receiving server?Note: I'm using mail submission, and following some information on the web, I also tried to add this checks the master.cf as:submission inet n       -       -       -       -       smtpd  -o cleanup_service_name=subcleanupcleanup   unix  n       -       -       -       0       cleanupsubcleanup unix n       -       -       -       0       cleanup  -o header_checks=regexp:/etc/postfix/header_checksHowever still no luck.Thank you.
Postfix: Remove References to Server Software
regular expression;postfix
Postfix provides a way to do this without resolving to manual filtering:sudo postconf mail_name=SomeRandomMTAFrom the postfix docs:mail_name (default: Postfix) The mail system name that is displayed in Received: headers, in the SMTP greeting banner, and in bounced mail.