Carlos Velasco via Postfix-users:
> 
> Wietse Venema via Postfix-users escribi? el 10/12/2023 a las 21:53:
> > Carlos Velasco via Postfix-users:
> >> Wietse Venema via Postfix-users escribi? el 10/12/2023 a las 19:44:
> >>> Carlos Velasco via Postfix-users:
> >>>> *** And there is the milter, is custom made ***
> >>> You need to reduce complexity.
> >>>
> >>> - If you remove the Milter, is the header still duplicated?
> >> No.
> >> Duplication only happens when, in milter, I delete that header and readd 
> >> it again.
> > Obviously, you are not deleting that header!
> >
> > How do you know that the header is readlly deleted? Can you show a
> > message that the header is removed when you aren't adding that
> > header with the Milter?
> Obviously, I am deleting that header, like all others!
> 
> header received in the header callback:
> milter[548374]: header: Received-SPF: Pass (mailfrom) identity=mailfrom; 
> client-ip=2620:137:e000::1:20; helo=out1.vger.email; 
> envelope-from=linux-kernel-ow...@vger.kernel.org; receiver=<UNKNOWN>
> 
> Header removed in the eom callback, NO error reported:
> postfix/cleanup[563179]: reply: SMFIR_CHGHEADER data 18 bytes
> postfix/cleanup[563179]: cleanup_del_header: 1 "Received-SPF"
> postfix/cleanup[563179]: cleanup_find_header_start: index 1 name 
> "Received-SPF"
> postfix/cleanup[563179]: cleanup_find_header_start: index 1 name Received-SPF 
> type 78 offset -1

I asked for a copy of the (headers of the) resulting message that
Postfix delivers.
- Does it have a Received-SPF header?
- Does it have two?

BTW, The Postfix SMFIR_CHGHEADER implementation will delete a header
when the caller specifies an empty header value. That must be for some
compatibility reason.

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

Reply via email to