Skip to content

Problem with decoding/unzipping of tlsrpt+gzip from google.com #88

@logopk

Description

@logopk

Hi,

I have enabled SMTP TLS Reports just today.

There has been only one report from google so far, but this one cannot be decoded. Besides some other DMARC that I haven't looked at yet.

dmarc-report-viewer | 2026-06-03T21:47:08.225265Z WARN Failed to extract report files from mail: Failed to extract XML from GZ attachment: Failed to read file from GZ archive: invalid gzip header
dmarc-report-viewer | 2026-06-03T21:47:08.233034Z WARN Found 122 mail(s) without report files
dmarc-report-viewer | 2026-06-03T21:47:08.233040Z INFO Extracted 1981 XML report file(s) and 0 JSON report file(s)
dmarc-report-viewer | 2026-06-03T21:47:08.298252Z WARN Found and filtered 63 duplicated DMARC reports!
dmarc-report-viewer | 2026-06-03T21:47:08.298266Z WARN Failed to parse 5 XML or JSON file(s) as DMARC or SMTP TLS report(s)

--000000000000a648cf065359e4e6
Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes

This is an aggregate TLS report from google.com

--000000000000a648cf065359e4e6
Content-Type: application/tlsrpt+gzip;
name="google.com!kreuser.name!1780358400!1780444799!001.json.gz"
Content-Disposition: attachment;
filename="google.com!kreuser.name!1780358400!1780444799!001.json.gz"
Content-Transfer-Encoding: base64

H4sIAAAAAAAAAHVQsWrEMAz9laLZCm7KHZynbqV7pyulGMcJpo4ULHlIQ/69JLkOLRxokJ6enp60
AJfBU/r2mpiQ/BjBwQvzkOPDK4UGDHReIxZPQwS3gKgvihumaSe3tj2jPaNt36x1e1zBQKTuDqt9
cqeLO12usBoITOqDYqKewYGMOqFmwRInLppoeB52M03gEQwcMKbuzuLPrxKrxNLslxiYOKeQooB7
X45i3o44MtR52rwR4w3ouVL3OzZjx6NPBA7+qK4GpI6jL7uUsvqMUkOIIn3NKFFk+2XgSgru0dwo
vU+5lvi/b9f1Y/0BG7nFJIcBAAA=
--000000000000a648cf065359e4e6--

The attachment decodes fine when I save it from Apple Mail.

What can I do to get this fixed?

Thanks.

Peter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions