The major change here is switching to line based rather than character based 
extraction from the destination message to recreate the source message.

I have updated some of my examples; e.g. the message that I was testing against 
for the previous one now looks like this:

Original:
DKIM2: i=1; ...
MIME-Version: 1.0
Message-Id: <[email protected]>
Date: Thu, 21 Mar 2024 12:09:37 +1000
From: "Bron Gondwana" <[email protected]>
To: [email protected]
Subject: Working group last call draft-ietf-jmap-webpush-vapid
Content-Type: multipart/alternative;
 boundary=12b53dc829d24511bfa04f7d5e3675f8

--12b53dc829d24511bfa04f7d5e3675f8
Content-Type: text/plain

Hi All,

This email starts a working group last call for 
https://datatracker.ietf.org/doc/draft-ietf-jmap-webpush-vapid/ as discussed in 
the IETF119 session.

Please post any comments or responses by *Thursday, April 4th, 2024*.

Thanks,

Bron.


--
  Bron Gondwana, CEO, Fastmail Pty Ltd
  [email protected]


--12b53dc829d24511bfa04f7d5e3675f8
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso=
Normal,p.MsoNoSpacing{margin:0}</style></head><body><div style=3D"font-f=
amily:Arial;">Hi All,<br></div><div style=3D"font-family:Arial;"><div><b=
r></div><div>This email starts a working group last call for <a href=3D"=
https://datatracker.ietf.org/doc/draft-ietf-jmap-webpush-vapid/";>https:/=
/datatracker.ietf.org/doc/draft-ietf-jmap-webpush-vapid/</a> as discusse=
d in the IETF119 session.<br></div><div style=3D"font-family:Arial;"><br=
></div><div style=3D"font-family:Arial;">Please post any comments or res=
ponses by <b>Thursday, April 4th, 2024</b>.<br></div><div style=3D"font-=
family:Arial;"><br></div><div style=3D"font-family:Arial;">Thanks,<br></=
div><div style=3D"font-family:Arial;"><br></div><div style=3D"font-famil=
y:Arial;">Bron.<br></div><div><br></div><div><br></div></div><div id=3D"=
sig56629417"><div class=3D"signature">--<br></div><div class=3D"signatur=
e">&nbsp; Bron Gondwana, CEO, Fastmail Pty Ltd<br></div><div class=3D"si=
gnature">&nbsp; [email protected]<br></div><div class=3D"signature"=
><br></div></div><div style=3D"font-family:Arial;"><br></div></body></ht=
ml>
--12b53dc829d24511bfa04f7d5e3675f8--

And the mailing list copy like this (NOTE: I'm using a DKIM1 signer hence the 
duplicated `h=` fields.

DKIM2: i=2; v=2; a=rsa-sha256; c=relaxed; d=example.com; h=cc
        :content-type:content-type:date:date:dkim2:dkim2:dkim2-diff-body
        :dkim2-diff-header:from:from:in-reply-to:message-id:mime-version
        :reply-to:sender:sender:subject:subject:to:to; s=dkim2selector;
         bh=+UCZHtMZyytbykMD6d7ParYHcts6KYUonxc+lHi99AI=; b=iunaXi6iqbtB
        fNPGpnblgdEnnVLR+obl98o5hAwScwjp2gF8EVUcMtLcF53mW/btT8k2T1ryByv9
        WPtmuiVy5lfhmUXr9lHAiS48ppwDAPXiBKOCSKSXBYwxl2yM3CadWD9CY975v0/c
        YWvK+oczLB1sI0ctgNky6YI6Uk8XkPI=
*DKIM2-Delta-Body: i=2;
        c=4-44*
DKIM2-Delta-Header: i=2;
        
b=Content-Type,bXVsdGlwYXJ0L2FsdGVybmF0aXZlOyBib3VuZGFyeT0xMmI1M2RjODI5ZDI0NTExYmZhMDRmN2Q1ZTM2NzVmOA==;
        b=From,IkJyb24gR29uZHdhbmEiIDxicm9uZ0BmYXN0bWFpbHRlYW0uY29tPg==;
        t=Sender;
        t=Subject,Working group last call draft-ietf-jmap-webpush-vapid
DKIM2: i=1; ...
MIME-Version: 1.0
Message-Id: <[email protected]>
Date: Thu, 21 Mar 2024 12:09:37 +1000
To: [email protected]
Subject: [Jmap] Working group last call draft-ietf-jmap-webpush-vapid
Content-Type: multipart/mixed; boundary="===============5385250436117681394=="
Errors-To: [email protected]
Sender: "Jmap" <[email protected]>
From: Bron Gondwana <[email protected]>

--===============5385250436117681394==
Content-Type: multipart/alternative; boundary=12b53dc829d24511bfa04f7d5e3675f8

--12b53dc829d24511bfa04f7d5e3675f8
Content-Type: text/plain

Hi All,

This email starts a working group last call for 
https://datatracker.ietf.org/doc/draft-ietf-jmap-webpush-vapid/ as discussed in 
the IETF119 session.

Please post any comments or responses by *Thursday, April 4th, 2024*.

Thanks,

Bron.


--
  Bron Gondwana, CEO, Fastmail Pty Ltd
  [email protected]


--12b53dc829d24511bfa04f7d5e3675f8
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso=
Normal,p.MsoNoSpacing{margin:0}</style></head><body><div style=3D"font-f=
amily:Arial;">Hi All,<br></div><div style=3D"font-family:Arial;"><div><b=
r></div><div>This email starts a working group last call for <a href=3D"=
https://datatracker.ietf.org/doc/draft-ietf-jmap-webpush-vapid/";>https:/=
/datatracker.ietf.org/doc/draft-ietf-jmap-webpush-vapid/</a> as discusse=
d in the IETF119 session.<br></div><div style=3D"font-family:Arial;"><br=
></div><div style=3D"font-family:Arial;">Please post any comments or res=
ponses by <b>Thursday, April 4th, 2024</b>.<br></div><div style=3D"font-=
family:Arial;"><br></div><div style=3D"font-family:Arial;">Thanks,<br></=
div><div style=3D"font-family:Arial;"><br></div><div style=3D"font-famil=
y:Arial;">Bron.<br></div><div><br></div><div><br></div></div><div id=3D"=
sig56629417"><div class=3D"signature">--<br></div><div class=3D"signatur=
e">&nbsp; Bron Gondwana, CEO, Fastmail Pty Ltd<br></div><div class=3D"si=
gnature">&nbsp; [email protected]<br></div><div class=3D"signature"=
><br></div></div><div style=3D"font-family:Arial;"><br></div></body></ht=
ml>
--12b53dc829d24511bfa04f7d5e3675f8--


--===============5385250436117681394==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Jmap mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/jmap

--===============5385250436117681394==--

So it's just keeping lines 4-44 from the message, removing the MIME wrapper and 
trailing signature to recreate the original message.

Bron.

On Wed, Jun 18, 2025, at 17:09, [email protected] wrote:
> A new version of Internet-Draft
> draft-gondwana-dkim2-modification-alegbra-02.txt has been successfully
> submitted by Bron Gondwana and posted to the
> IETF repository.
> 
> Name:     draft-gondwana-dkim2-modification-alegbra
> Revision: 02
> Title:    A method for describing changes made to an email
> Date:     2025-06-18
> Group:    dkim
> Pages:    6
> URL:      
> https://www.ietf.org/archive/id/draft-gondwana-dkim2-modification-alegbra-02.txt
> Status:   
> https://datatracker.ietf.org/doc/draft-gondwana-dkim2-modification-alegbra/
> HTMLized: 
> https://datatracker.ietf.org/doc/html/draft-gondwana-dkim2-modification-alegbra
> Diff:     
> https://author-tools.ietf.org/iddiff?url2=draft-gondwana-dkim2-modification-alegbra-02
> 
> Abstract:
> 
>    This memo describes a method for describing the changes made to an
>    email during common email modifications, for example those caused by
>    mailing lists and forwarders.
> 
>    While this is general enough to be used for any changes, it is
>    anticipated that this method will normally be used for removing added
>    data rather than large complex changes.
> 
> 
> 
> The IETF Secretariat
> 
> 
> 

--
  Bron Gondwana, CEO, Fastmail Pty Ltd
  [email protected]

_______________________________________________
Ietf-dkim mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to