User Mail doesnt send but test mail does

Hello everyone,

I’ve tried installing Passbolt CE multiple times, but I always encounter the same issue.

After completing the installation, I attempt to log in with my user credentials. I enter my email address, and the system says the email has been sent, but I never receive any email. On the other hand, when I send a test email using the following command:

bash

Code kopieren

sudo -H -u www-data bash -c "/usr/share/php/passbolt/bin/cake passbolt send_test_email --recipient=MAILADDRESS"

Everything works fine.

However, the healthcheck reports the following error:

arduino

Code kopieren

2024-11-27 12:40:35 error: [Symfony\Component\Process\Exception\RuntimeException] Unable to launch a new process. in /usr/share/php/passbolt/vendor/symfony/process/Process.php on line 356

Can anyone help me resolve this?

Best regards,
Marcel

Hi Marcel,

Consider switching to PHP 7.4 or 8.1

update-alternatives --set php /usr/bin/php7.4
update-alternatives --set php /usr/bin/php8.1

That did the trick for me (I was in 8.3)

Regards,