On Fri, 21 Jun 2019 at 14:30, Fazzina, Angelo <angelo.fazz...@uconn.edu> wrote:
> > Is possible add a header based on a regex in a subject? > > Yes, see > https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.postfix.org%2Fheader_checks.5.html&data=02%7C01%7Cangelo.fazzina%40uconn.edu%7C5fe624f0bb2748eb6c1208d6f63f6004%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C1%7C636967149385235271&sdata=h9mNY25n5%2BnZQnCJT8w4wlR6gRAgR6MeRvhcs2BN%2Fw4%3D&reserved=0 > (PREPEND action). > > > I have a question, wouldn't that break a DKIM sig if the incoming email had one ? Only if the header you are adding is one that was used to generate the DKIM key e.g. if you wanted to add a new Subject header (preceding the existing one). OP hasn't said what type of header he wants to add.