On Thu, Jul 23, 2020 at 9:20 AM Benny Pedersen
<[email protected]> wrote:
> show the source on how to make this work in mimedefang, or will it
> completely fail with spampd ?
Since it is off topic, I will give a short answer. If the Header From
matches /From: anything <string@domain>, check whether domain is one
that needs the rewrite, gmail.com for example, and change the field to
be simply /From: string@domain/.
In Mimedefang, we created a per-message global hash %Header, and
parsed each field (split on :). So for example $Header{from} was the
value of the From header field. The hash was used in various rules. MD
has a built-in function to replace the content of header fields, which
I think is a milter function.
--
Joseph Brennan
Lead, Email and Systems Applications
_______________________________________________
dmarc mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/dmarc