slight differences in getmail message vs downloaded message

Michael Grant <[email protected]> Thu, 28 Oct 2021 11:00:49 -0400
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
I just noticed something.  If in gmail, I go to the message and
'Download Original', then, use getmail to suck over a message and then
compare them, I see some slight differences.  And whitespace
differences like end of line is not the same.

For example, here's a spam message that I diffed (getmail on left, gmail download on right):

1,2d0
< From [email protected] Thu Oct 28 10:38:48 2021
< Return-Path: <[email protected]>
27a26
> Return-Path: <[email protected]>
36a36
> Return-Path: <[email protected]>
44,47d43
< X-GMAIL-THRID: =?utf-8?q?1714874573027056122?=
< X-GMAIL-MSGID: =?utf-8?q?1714874573027056122?=
< Content-Length: 3769
< Lines: 112
156,161d151
< --000000000000B0MNRUNyYR84HR9b--
<
< --000000000000B0MNRUNyYR84HR9a--
<
< --000000000000SGCNuB7Qm6umj710elBSQB--
<

I have other examples too where headers that were continued on lines got put back on one line (unwrapped).

I was just wondering if this is gmail's imap client or if this is
getmail modifying, cleaning up the message somehow?

I'm using this to report spam, ideally, I really want to keep things
just how they were.

Michael Grant
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEDXVee01gWrPIdWPRwgRAue7sYQMFAmF6ux4ACgkQwgRAue7s
YQPDkhAAs0XCxu04xayEu8hG7Quu8sSdOjMyKjBcNbmW4v1E+B3NSebuosEOSei3
Vo1pIjTfY4hOPOQ0dGYS/3p3C9cCg92MB9FcGblgKT1jJ/dngnzwvnqKVlxHf5X6
fU1QGpCOJTgKJH8Gb1XS3BPlhF05Z427f/zK26IKbvpVylqIHnli/LwvV20ZySqT
OjkCZCgKn+NUCGqGxz9H+uMnbQpwbIyjvRBVMLy6dLxzmlBZ/h6VEmgmxAgFq+s5
4dovUT/pweQnbR0/BaUoufk4fY5b/4YlWhxcfqI0DF9+Ft7npGQ3HkaljRX/CBaO
RSRk4B/iMjfmhfpjMhOFIJodGnIukfA2MHKb0jDE3f8P/0+LOdsSkIN48LOMqnVk
OR8Rn383mba5aPfQyFwDrtLSQ0NCJPiB2iSzkbA4iZNH7aN5XwZkbQoRyBOgyHyT
i3FihvMwHqtrwGquVSBqP+WvjTA9prtMgYg+eGtU9bdpBFHsbO1l7yKChYVigXbP
jasrqLtRS5ppShNEAERrrEixv8Q1OjUFqaCAOQaJBw+m8BQDyDzr1hj3uASlSK2V
FvkOhK4N02acT4uFbyk7q52EMnNwu6pJ+OB4DlSsBiVsTWPhjmF9cqgCc3n3xvBJ
JAFvuJub4E1zlA54d7RaZ2Sf9A9ePx4NJMHJvVXeH3EQzyLmOxg=
=WlJF
-----END PGP SIGNATURE-----