liuch / dmarc-srg

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

Need install help #126

Closed lyonelf closed 2 months ago

lyonelf commented 2 months ago

Hello,

i try to install it in a debian 12

I have installed php and mariaDB

Copied source app in /var/www/dmarc-srg

When i launch php utils/database_admin.php init ia have: Message: Error! Database access denied

What i missed?

Thanks

liuch commented 2 months ago

Hello, It is not enough to just install mariaDB. Have you followed all the steps that are written in README?

liuch commented 2 months ago

https://github.com/liuch/dmarc-srg?tab=readme-ov-file#create-the-database

lyonelf commented 2 months ago

yes i did all on this article

liuch commented 2 months ago

This error occurs when the database name, user or password is incorrect. Check these parameters in your config/conf.php

lyonelf commented 2 months ago

Yep that it. Not the good name in name value

lyonelf commented 2 months ago

Other question

how can i manage email reports with microsoft 365, non password shared mailbox ?

liuch commented 2 months ago

Receiving incoming reports from the mailbox is only possible with a username and password. I have nothing to test other configurations on. You can try using Server directory or Remote FS for this. Sorry.

lyonelf commented 2 months ago

All right

I set a sharedmailbox with an AD user and password but always an error

image

NOTA: yes i've translated everything ;)

lyonelf commented 2 months ago

Near the same issue with a gmail account I set correct credentials:

image

liuch commented 2 months ago

Have you tried logging in yourself with your credentials (without using the tool)?

liuch commented 2 months ago

Is there any log of authentication attempts that you could see in your mailbox?

lyonelf commented 2 months ago

Yes i'm logged perfectly via gmail website. imap is activate

i don't think there is some logs available in gmail

liuch commented 2 months ago

Perhaps you used the account's primary password? Gmail requires you to generate a separate password for applications (app passwords): https://support.google.com/accounts/answer/185833

lyonelf commented 2 months ago

Yes maybe

But i try with a gmx mailbox and is ok

liuch commented 2 months ago

May I close this?

lyonelf commented 2 months ago

yep, it's ok for me.

Can i suggest you to add a favicon to your site?

To find it more easily when we have lots of tabs opened

liuch commented 2 months ago

Can i suggest you to add a favicon to your site?

It has to be drawn first... I'll reflect on it. Any way, you can throw any favicon you like into the public/ directory and the browser will most likely pick it up without editing the index file.

lyonelf commented 2 months ago

it works !!

image