You can drop received header without dedicated postfix, just do it with
milter instead. Rspamd can do it for you with very small Lua script, and do
SPF/DKIM/DMARC & ARC all together.

-- 
*Best Regards,*
Dmitriy Alekseev
DevOps Engineer

On Sat, 10 May 2025, 21:37 Ken Biggs via Postfix-users, <
postfix-users@postfix.org> wrote:

> Thank you all so much for all your help!  I don't think I'm up for setting
> up a separate postfix instance for outgoing email.  It's pretty obvious I'm
> a novice working with Postfix.  Actually not really sure if removing the
> Received headers was accomplishing anything anyway.  Google doesn't give
> you much to work with on their spam filtering.  It was a stab in the dark.
> It's also probable that being an Akamai IP, there's someone doing something
> on my C block that triggers Google to have a poor reputation for the whole
> block and that might be the issue.  I like having my own server and
> managing the install from the operating system up, so maybe I just have to
> live with some spam filtering of our outgoing email.
>
> > On May 10, 2025, at 2:29 PM, Wietse Venema via Postfix-users <
> postfix-users@postfix.org> wrote:
> >
> > 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
>
> _______________________________________________
> Postfix-users mailing list -- postfix-users@postfix.org
> To unsubscribe send an email to postfix-users-le...@postfix.org
>
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to