Docker install. Test email is OK, notification emails are sent but never received

I have read intro post: About the Installation Issues category
I have read the tutorials, help and searched for similar issues
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

Try to use Docker image.

Test email is sent and received.

docker-compose exec passbolt su -m -c “/usr/share/php/passbolt/bin/cake passbolt send_test_email” -s /bin/sh www-data
works fine.

But notification emails are not received.

If i check the database with :
docker exec -ti passbolt_db_1 bash -c ‘mysql -u${MYSQL_USER} -p${MYSQL_PASSWORD} ${MYSQL_DATABASE}’
select email, subject, error, created, sent from email_queue;

I can see that notification mails are queued, and sent (“sent” field change from 0 to 1) … but never received.

Thank you for your help !

@chachou Hi Philippe welcome to the forum!

To get a healthcheck see this page: Passbolt Help | Troubleshoot Docker

But also check the passbolt admin settings page to see if emails are enabled for the event you expect.

There is a good chance the emails are being filtered as spam or something of that nature.

Since these are marked sent a few places to look

  • as @thecomputerguy mentioned you might want to take a look in your spam/junk folder
  • check the logs on the smtp server you are sending from
  • check logs on the receiving server to see if there is anything there

I am having this same issue. I setup the e-mail server with the provider Google Workspace and sent a test e-mail. that works. but when I attempt to log in as a user i get a message to “Check your mailbox!” but that message never arrives. I have also checked my spam folder, it is not there.

@jwaresolutions I’m interested in making the email test better, as it doesn’t seem to catch various issues with settings.

Can you provide the following:

  • an example of your email settings (substitute in fake info that is similar on text fields)
  • describe your installation and OS
  • which test are you running?


I followed the setup used by Network Chuck in this video stop giving your passwords to hackers - YouTube
so it is docker containers running on a linode droplet on Ubuntu 22.04 LTS
I made some minor changes, for instance. I created an A record to point to the server and used that instead of the RDNS address in the video. that works fine.

I am using the google workspaces setup

Email provider - Google Workspaces
Authentication Method  - Username Only
Username - {my workspaces username]
-- no advanced settings were changed --
sender name/sender e-mail - {my workspaces username}

when i sent a test e-mail from the e-mail server setup page i recieve the email in less than 5 seconds every time.

So if it’s a username only, are you whitelisting the ip address for the passbolt server in the Google settings?

If no other email works except the test one, that would be somehow related to the CRON job which runs each minute.

The db has a record of the emails sent Not receiving emails from app - #2 by clayton

You could try running the command in that post to get an idea of delivery results.