Can not send test email, create any user, or get authentication email back from passbolt at login [mail host blocking From: address]

Checklist
[ 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.)
I provide a copy of my logs and healthcheck
I describe the steps I have taken to trouble shoot the problem
I describe the steps on how to reproduce the issue

Hi @saad03 Welcome to the forum!

Thank you for providing the output from the email session. It appears your mail server is blocking the attempt to send out mail as configured for the reason it is showing.

Thank you for your reply.

The email it’s using to send is autheorized to send emails through the mail server although just to test it out I have made a change. In my opinion, this error states that I am using an email address that is different from the one mentioned in passbolt.php. (I could be wrong)
I am trying to change “Sending email from:” to be the same as the one used in the username. Although after changing the passbolt.php file many times, it still shows that it’s trying to send the email from a previously defined email address.

P.s Yes I have cleared the cache multiple times.

For the email settings you’ll want to make the change in the Web UI under the Administration tab. Passbolt moved the storage of this to the database so changing the file won’t actually update it.

unfortunately when I try to log in it sends a verification to the email I have entered. Although I never receive an email to verify myself and proceed further in logging in with the account. So technically I cannot login again.

Yes I have checked the junk and reloaded my emails countless times.

Alright, did not realize you couldn’t log in at the moment. There is a way around that. You can generate the link that would normally be in the email by doing:

  • Request the recovery email to be sent even though it won’t go anywhere
  • Log into the server, and then the database, and be sure to use the passbolt database if you don’t default into that one
  • Run this query:
    • select email, subject, template_vars from email_queue order by created desc limit 3;
      • I chose 3 here in case someone else tries to recover their account too

Your output should look something like the below, I’ve bolded two important fields which you’ll need:

| clayton@passbolt.local | Your account recovery, C! | {“body”:{“user”:{“id”:“73a51858-0435-47d5-bc7f-62eb7ff10590”,“role_id”:“15537ea1-46cd-4e12-b2f9-a50c818b60a2”,“username”:“clayton@passbolt.local”,“active”:true,“deleted”:false,“created”:“2022-11-21T11:15:48+00:00”,“modified”:“2023-02-15T15:50:34+00:00”,“profile”:{“id”:“865a9a8d-60e8-4a11-bf05-f26ea6aa2a2b”,“user_id”:“73a51858-0435-47d5-bc7f-62eb7ff10590”,“first_name”:“C”,“last_name”:“S”,“created”:“2022-11-21T11:15:48+00:00”,“modified”:“2023-02-15T15:50:34+00:00”,“avatar”:{“id”:“2b814079-edc8-4739-9b97-235ea03b05bc”,“profile_id”:“865a9a8d-60e8-4a11-bf05-f26ea6aa2a2b”,“created”:“2023-01-02T11:56:55+00:00”,“modified”:“2023-02-15T15:50:34+00:00”,“url”:{“medium”:“https://passbolt.local/avatars/view/2b814079-edc8-4739-9b97-235ea03b05bc/medium.jpg”,“small”:“https://passbolt.local/avatars/view/2b814079-edc8-4739-9b97-235ea03b05bc/small.jpg”}}},“role”:{“id”:“15537ea1-46cd-4e12-b2f9-a50c818b60a2”,“name”:“admin”,“description”:“Organization administrator”,“created”:“2012-07-04T13:39:25+00:00”,“modified”:“2012-07-04T13:39:25+00:00”},“last_logged_in”:null},“token”:{" user_id":“73a51858-0435-47d5-bc7f-62eb7ff10590”," token":“98cec5d3-5b87-4ec7-8aad-cafe0cf9b6e3”,“active”:true,“type”:“recover”,“data”:null,“created”:“2023-02-17T13:37:07+00:00”,“modified”:“2023-02-17T13:37:07+00:00”,“id”:“b0dffa11-8e9c-4434-878d-4ed22d9a107b”},“case”:“default”,“fullBaseUrl”:“https://passbolt.local”},“title”:“Your account recovery, C!”,“locale”:“en-UK”} |

You should then be able to go to the Administration settings to correct the email issue