Closed basti1508 closed 8 months ago
Yes it should. And it’s on my list :) I’ll move up the priority
@basti1508 could you provide an (anonymized) example of the report causing the issue so i can have a detailed look?
fixed in 1.8.0 see releasenotes https://github.com/antedebaas/DMARC-SMTPTLS-Reports/releases/tag/v1.8.0
sadly. This issue is still there.
I'm not sure, why the try block does not catch the error...
In GetReportsFromMailboxCommand.php line 293:
[Error]
Call to a member function __toString() on null
Exception trace:
at /var/www/dmarc-smtptls-reports/src/Command/GetReportsFromMailboxCommand.php:293
App\Command\GetReportsFromMailboxCommand->process_dmarc_report() at /var/www/dmarc-smtptls-reports/src/Command/GetReportsFromMailboxCommand.php:161
App\Command\GetReportsFromMailboxCommand->process_email() at /var/www/dmarc-smtptls-reports/src/Command/GetReportsFromMailboxCommand.php:99
App\Command\GetReportsFromMailboxCommand->open_mailbox() at /var/www/dmarc-smtptls-reports/src/Command/GetReportsFromMailboxCommand.php:60
App\Command\GetReportsFromMailboxCommand->execute() at /var/www/dmarc-smtptls-reports/vendor/symfony/console/Command/Command.php:279
Symfony\Component\Console\Command\Command->run() at /var/www/dmarc-smtptls-reports/vendor/symfony/console/Application.php:1049
Symfony\Component\Console\Application->doRunCommand() at /var/www/dmarc-smtptls-reports/vendor/symfony/framework-bundle/Console/Application.php:125
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /var/www/dmarc-smtptls-reports/vendor/symfony/console/Application.php:318
Symfony\Component\Console\Application->doRun() at /var/www/dmarc-smtptls-reports/vendor/symfony/framework-bundle/Console/Application.php:79
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/dmarc-smtptls-reports/vendor/symfony/console/Application.php:169
Symfony\Component\Console\Application->run() at /var/www/dmarc-smtptls-reports/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49
Symfony\Component\Runtime\Runner\Symfony\ConsoleApplicationRunner->run() at /var/www/dmarc-smtptls-reports/vendor/autoload_runtime.php:29
require_once() at /var/www/dmarc-smtptls-reports/bin/console:11
app:getreportsfrommailbox
Actually the mail causing the problem should now be flagged in your inbox. Processing would still continue now Could you find the mail causing the error and post the (anonymized) report here?
But the processing does not Continue. I've tested with 1.8.1 today and the issue persists. I can see the try catch Block in the Code, but the Exception is thrown nevertheless.
here is the file! dsea.unipi.it!domain.com!1708543501!1708543501.zip
Thanks I’ll look into it
here is the file! dsea.unipi.it!domain.com!1708543501!1708543501.zip
could you re-upload it? the link seems to be dead
nvm. now the link works again
fixed in 1.9.0
If you run app::checkmailbox and within the unread mails is one report, that does cause an error, all other reports from that unread mails are getting tagged read, but not processed to the DB. The process should handle those errors better.
Here's a trace from when it fails: