Config file for SMTP settings?

[ x] I have read intro post: About the Installation Issues category
[x ] I have read the tutorials, help and searched for similar issues
[x ] I provide relevant information about my server (component names and versions, etc.)
[x ] I provide a copy of my logs and healthcheck
[x ] I describe the steps I have taken to trouble shoot the problem
[x ] I describe the steps on how to reproduce the issue

Hi guys,

I am unable to access the admin webpage as it’s requiring me to send an email to validate. However, I have not setup my smtp settings yet. I’m using ubuntu server 22.04. I read that there should be an Email Configuration setting in /etc/passbolt/passbolt.php, but I do not see anything in that file regarding SMTP settings. Is there somewhere else I should be looking? Attached is my php file.

Hello @Sagafx,

I was wondering which emails are you talking about? I don’t think that in order to access the administration web page you’d need to receive any emails.

If you have been logged-out of the account and you need to proceed to an account recovery, you could use the CLI:

sudo su -s /bin/bash -c "/usr/share/php/passbolt/bin/cake passbolt recover_user -c -u YOUR_EMAIL" www-data

If this is not what you are trying to mention, could you elaborate a little bit? What do you see? What do you expect to see?

Since you already configured the instance, most likely the smtpSettings are saved in the database which prevent any configuration file. I can help with that if the issues is not the account recovery process.

Hi Antony!

The account recovery command you provided is exactly what I needed. Thank you for your help and love the Anakin profile picture!


1 Like