Matus UHLAR - fantomas via Postfix-users:
> On 10.05.25 13:32, Ken Biggs via Postfix-users wrote:
> > So continuing the saga ...  digging into /etc/postfix/header_checks I found 
> > a revision I made back in January to try to keep our outgoing email from 
> > having headers with the IP address of the email client that sent the email 
> > to the server and maybe keep Gmail from marking our outgoing email as 
> > SPAM.
> 
> >/^Received:.*with ESMTPSA/              IGNORE
> >/^X-Originating-IP:/    IGNORE
> >/^X-Mailer:/            IGNORE
> >/^Mime-Version:/        IGNORE
> 
> These should not be used globally but only at submission level.
> 
> This can be achieved by using separate postfix instance for submitted mail
> - I don't see possibility of configuring separate cleanup instance for smtpd

master.cf:

submission inet n       -       n       -       -       smtpd
  -o syslog_name=postfix/submission
  -o cleanup_service=submission_cleanup
    ...

submissions inet n       -       n       -       -       smtpd
  -o syslog_name=postfix/submissions
  -o cleanup_service=submission_cleanup
    ...

submission_cleanup  unix  n  -    n       -       0       cleanup
  -o header_checks=submission_header_checks
  -o mime_header_checks=submission_mime_header_checks

But I'll be the first to admit that this is not 'easy to use'.

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

Reply via email to