liuch / dmarc-srg

A php parser, viewer and summary report generator for incoming DMARC reports.
GNU General Public License v3.0
218 stars 32 forks source link

Kerberos enabled mail server error #65

Closed Entrepreneur-AJ closed 1 year ago

Entrepreneur-AJ commented 1 year ago

Our mail server allows GSSAPI, Plain and Login authentication but can't connect.

running the check_config utility I get the following response;

`=== GENERAL INFORMATION ===

=== EXTENSIONS ===

=== CONFIG FILE ===

=== EXTENSIONS ===

=== CONFIG FILE ===

=== DATABASE ===

=== MAILBOXES ===

=== DIRECTORIES ===

=== Success! === DATABASE ===

=== MAILBOXES ===

=== DIRECTORIES ===

=== Success!`

liuch commented 1 year ago

Hello Entrepreneur-AJ, I just have added a small fix. Can you check it?

Entrepreneur-AJ commented 1 year ago

Seems to have cleared the issue on the cli, will await to see if it successfully parses the next batch of DMARC reports and before closing this issue.

liuch commented 1 year ago

I'm going to make this solution an option in the conf.php, since someone might be successfully using gssapi on their server for this tool. After your confirmation, there will be another commit.

Entrepreneur-AJ commented 1 year ago

Commit seems to have worked, been able to pull the first set of DMARC Reports today, so ready to move on to next commit. Want me to leave this issue open and test your next relevant commit or close it?

liuch commented 1 year ago

Yes, if you don't mind.

Entrepreneur-AJ commented 1 year ago

No problem will await next commit

liuch commented 1 year ago

Done. You need to add a parameter named auth_exclude to your conf.php file. You can see an example here: https://github.com/liuch/dmarc-srg/blob/master/config/conf.sample.php#L50

Feel free to ask if you have any questions.

Entrepreneur-AJ commented 1 year ago

Latest commit pulled will update once next batch of dmarc reports processed.

Entrepreneur-AJ commented 1 year ago

All working properly, hard work is apreciated.

liuch commented 1 year ago

Thank you for the report. Have a good day.