dmarc-srg icon indicating copy to clipboard operation
dmarc-srg copied to clipboard

json support

Open shushulin76 opened this issue 2 years ago • 12 comments

Is it possible to support .json files?

Best Regards

shushulin76 avatar Feb 14 '23 16:02 shushulin76

Hello. What exactly do you mean?

liuch avatar Feb 14 '23 16:02 liuch

When report is with .json.gz extension logging error

From: Aleksey Andreev @.> Sent: Tuesday, February 14, 2023 6:34 PM To: liuch/dmarc-srg @.> Cc: shushulin76 @.>; Author @.> Subject: Re: [liuch/dmarc-srg] json support (Issue #53)

Hello. What exactly do you mean?

— Reply to this email directly, view it on GitHub https://github.com/liuch/dmarc-srg/issues/53#issuecomment-1430038028 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A54UHF4NSOA2HMLDEMKXZFTWXOXXBANCNFSM6AAAAAAU3YUSP4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/A54UHFYMV3YOJNBRFL535Q3WXOXXBA5CNFSM6AAAAAAU3YUSP6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSVHSTAY.gif Message ID: @.*** @.***> >

shushulin76 avatar Feb 14 '23 16:02 shushulin76

I have not come across such files as a report, and RFC 7489 does not mention this either. Could you give me a link to learn this?

liuch avatar Feb 14 '23 16:02 liuch

Oh. Do you mean SMTP TLS Reporting (RFC 8460)?

liuch avatar Feb 14 '23 16:02 liuch

Ou yes my mistake, because reports came in the same inbox excuse me.

Best Regards

From: Aleksey Andreev @.> Sent: Tuesday, February 14, 2023 6:58 PM To: liuch/dmarc-srg @.> Cc: shushulin76 @.>; Author @.> Subject: Re: [liuch/dmarc-srg] json support (Issue #53)

Oh. Did you mean SMTP TLS Reporting (RFC 8460)?

— Reply to this email directly, view it on GitHub https://github.com/liuch/dmarc-srg/issues/53#issuecomment-1430072132 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A54UHF75XUTNVPLWAZT4G5LWXO2QHANCNFSM6AAAAAAU3YUSP4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/A54UHFYXIHH46KJBI66QAFTWXO2QHA5CNFSM6AAAAAAU3YUSP6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSVHUVUI.gif Message ID: @.*** @.***> >

shushulin76 avatar Feb 14 '23 17:02 shushulin76

I just receive this error but it is working

PHP Notice: Unknown: Kerberos error: No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_0) (try running kinit) for mail.domain.com (errflg=1) in Unknown on line 0

From: Aleksey Andreev @.> Sent: Tuesday, February 14, 2023 6:58 PM To: liuch/dmarc-srg @.> Cc: shushulin76 @.>; Author @.> Subject: Re: [liuch/dmarc-srg] json support (Issue #53)

Oh. Did you mean SMTP TLS Reporting (RFC 8460)?

— Reply to this email directly, view it on GitHub https://github.com/liuch/dmarc-srg/issues/53#issuecomment-1430072132 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A54UHF75XUTNVPLWAZT4G5LWXO2QHANCNFSM6AAAAAAU3YUSP4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/A54UHFYXIHH46KJBI66QAFTWXO2QHA5CNFSM6AAAAAAU3YUSP6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSVHUVUI.gif Message ID: @.*** @.***> >

shushulin76 avatar Feb 14 '23 17:02 shushulin76

What did you do when it happened? And where (in the Web UI or in the console)?

liuch avatar Feb 14 '23 18:02 liuch

When i run php script for import to database manually

On Feb 14, 2023, 8:05 PM, at 8:05 PM, Aleksey Andreev @.***> wrote:

What did you do when it happened? And where (in the Web UI or in the console)?

-- Reply to this email directly or view it on GitHub: https://github.com/liuch/dmarc-srg/issues/53#issuecomment-1430162329 You are receiving this because you authored the thread.

Message ID: @.***>

shushulin76 avatar Feb 14 '23 18:02 shushulin76

utils/fetch_reports.php This one? Thanks.

liuch avatar Feb 14 '23 18:02 liuch

Yes, and mail server is Microsoft exchange. Thanks Best Regards

On Feb 14, 2023, 8:28 PM, at 8:28 PM, Aleksey Andreev @.***> wrote:

utils/fetch_reports.php This one? Thanks.

-- Reply to this email directly or view it on GitHub: https://github.com/liuch/dmarc-srg/issues/53#issuecomment-1430189733 You are receiving this because you authored the thread.

Message ID: @.***>

shushulin76 avatar Feb 14 '23 18:02 shushulin76

Can you provide example reports here ? The full email or attachement could be quite helpful

williamdes avatar Jun 19 '23 00:06 williamdes

PHP Notice: Unknown: Kerberos error: No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_0) (try running kinit) for mail.domain.com (errflg=1) in Unknown on line 0

That has been fixed. The details are here: https://github.com/liuch/dmarc-srg/issues/65

liuch avatar Jun 19 '23 21:06 liuch