On Tue, Dec 17, 2024 at 09:55:32AM +0800, Bitfox via Postfix-users wrote:

> I saw that when messages sent to duck.com for forwarding, duck.com will
> remove the original DKIM info from headers, to protect the sender privacy.
> 
> I am just curious how to remove that DKIM in postfix?

Top-level Header removal is easily enough implemented with:

    header_checks = pcre:${config_directory}/header_checks.pcre

    # Empty or without the logic that should apply to just top-level.
    nested_header_checks =

header_checks.pcre:
    /^DKIM-Signature: ... possibly match some additional details .../   IGNORE 
hide DKIM-sig

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

Reply via email to