Re: [mailop] DMARC reports in ZIP format

2025-02-10 Thread John Levine via mailop
It appears that Ralph Seichter via mailop said: >Interesting you should mention that, given that I just watched a video >[1] discussing some of the ZIP format's pitfalls and oddities. > > [1] https://youtu.be/RYHYiXMJdZI > >Since archives may potentially even start with random data, I wonder how

Re: [mailop] DMARC reports in ZIP format

2025-02-10 Thread Ralph Seichter via mailop
* John Levine via mailop: > Tip: the media type is sometimes wrong so you're better off sniffing > the first few bytes of the attachment to see what format it is. No, > they shouldn't do that either. But they do. Interesting you should mention that, given that I just watched a video [1] discussin

Re: [mailop] DMARC reports in ZIP format

2025-02-10 Thread Geert Hendrickx via mailop
On Mon, Feb 10, 2025 at 07:55:39 +0100, Marco Moock via mailop wrote: > That's why I am asking what other users of opendmarc experienced. The issue is discussed here: https://github.com/trusteddomainproject/OpenDMARC/issues/52 and there's a patch here: https://github.com/flinkflonk/opendmarc-una

Re: [mailop] DMARC reports in ZIP format

2025-02-09 Thread Marco Moock via mailop
Am 9 Feb 2025 21:32:54 - schrieb John Levine via mailop : > If you are interested in reports, accept both zip and gzip. It's not > hard. Some sites reject zip, e.g. university Graz. That's why I am asking what other users of opendmarc experienced. ___

Re: [mailop] DMARC reports in ZIP format

2025-02-09 Thread Slavko via mailop
On 9. februára 2025 21:32:54 UTC, John Levine via mailop wrote: >Tip: the media type is sometimes wrong so you're better off sniffing the first >few bytes of the attachment to see what format it is. No, they shouldn't do >that >either. But they do. In Python: if c_content[:3] == b"\x1f\

Re: [mailop] DMARC reports in ZIP format

2025-02-09 Thread John Levine via mailop
According to Alessandro Vesely via mailop : >> |The extension MUST be "xml" for a plain XML file, or "xml.gz" for an >> |XML file compressed using GZIP. >> >> Is there a special reason for using zip here? > >Some early DMARC drafts specified zip. Google obviously developed at those >times and ne

Re: [mailop] DMARC reports in ZIP format

2025-02-09 Thread Alessandro Vesely via mailop
On Sun 09/Feb/2025 12:06:36 +0100 Marco Moock wrote: While analyzing rejected DMARC report mails generated by opendmarc-reports v1.4.2, I noticed that they are generated in zip instead of gzip. Some sites reject zip at all. |The aggregate data MUST be an XML file that SHOULD be subjected to |GZ

[mailop] DMARC reports in ZIP format

2025-02-09 Thread Marco Moock via mailop
Hello! FYI: I already posted that on opendmarc-us...@trusteddomain.org, but nobody replied. While analyzing rejected DMARC report mails generated by opendmarc-reports v1.4.2, I noticed that they are generated in zip instead of gzip. Some sites reject zip at all. |The aggregate data MUST be an X