Hello,
I have passbolt installed on my server and smtp is configured. I am able to send the test emails, but other emails are not coming through whether its a login email or any other.
Health Check command says error about “Passbolt is not configured to force SSL use”. Could it be the reason why emails are not coming through.
I am using Brevo smtp setup
------------------Below is the result of the HealthCheck command-----------------------------------------
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ // / __ `/ / / __ / __ / / _/
/ / // ( | ) // / // / / /
// _,///./_//__/
Open source password manager for teams
Healthcheck shell
Environment
[PASS] PHP version 8.1.2-1ubuntu2.18.
[PASS] PHP version is 8.1 or above.
[PASS] PCRE compiled with unicode support.
[PASS] Mbstring extension is installed.
[PASS] Intl extension is installed.
[PASS] GD or Imagick extension is installed.
[PASS] The temporary directory and its content are writable and not executable.
[PASS] The logs directory and its content are writable.
Config files
[PASS] The application config file is present
[PASS] The passbolt config file is present
Core config
[PASS] Cache is working.
[PASS] Debug mode is off.
[PASS] Unique value set for security.salt
[PASS] Full base url is set to https://access.academyofmusicandarts.org
[PASS] App.fullBaseUrl validation OK.
[PASS] /healthcheck/status is reachable.
SSL Certificate
[PASS] SSL peer certificate validates.
[PASS] Hostname is matching in SSL certificate.
[PASS] Not using a self-signed certificate.
SMTP settings
[PASS] The SMTP Settings plugin is enabled.
[PASS] SMTP Settings coherent. You may send a test email to validate them.
[PASS] The SMTP Settings source is: database.
[WARN] The SMTP Settings plugin endpoints are enabled.
[HELP] It is recommended to disable the plugin endpoints.
[HELP] Set the PASSBOLT_SECURITY_SMTP_SETTINGS_ENDPOINTS_DISABLED environment variable to true.
[HELP] Or set passbolt.security.smtpSettings.endpointsDisabled to true in /var/www/passbolt/config/passbolt.php.
[PASS] No custom SSL configuration for SMTP server.
JWT Authentication
[PASS] The JWT Authentication plugin is enabled.
[PASS] The /var/www/passbolt/config/jwt/ directory is not writable.
[PASS] A valid JWT key pair was found.
GPG Configuration
[PASS] PHP GPG Module is installed and loaded.
[PASS] The environment variable GNUPGHOME is set to /var/www/.gnupg.
[PASS] The directory /var/www/.gnupg containing the keyring is writable by the webserver user.
[PASS] The server OpenPGP key is not the default one.
[PASS] The public key file is defined in /var/www/passbolt/config/passbolt.php and readable.
[PASS] The private key file is defined in /var/www/passbolt/config/passbolt.php and readable.
[PASS] The server key fingerprint matches the one defined in /var/www/passbolt/config/passbolt.php.
[PASS] The server public key defined in the /var/www/passbolt/config/passbolt.php (or environment variables) is in the keyring.
[PASS] There is a valid email id defined for the server key.
[PASS] The public key can be used to encrypt a message.
[PASS] The private key can be used to sign a message.
[PASS] The public and private keys can be used to encrypt and sign a message.
[PASS] The private key can be used to decrypt a message.
[PASS] The private key can be used to decrypt and verify a message.
[PASS] The public key can be used to verify a signature.
[PASS] The server public key format is Gopengpg compatible.
[PASS] The server private key format is Gopengpg compatible.
Application configuration
[PASS] Using latest passbolt version (4.9.0).
[FAIL] Passbolt is not configured to force SSL use.
[HELP] Set passbolt.ssl.force to true in /var/www/passbolt/config/passbolt.php.
[PASS] App.fullBaseUrl is set to HTTPS.
[PASS] Selenium API endpoints are disabled.
[PASS] Search engine robots are told not to index content.
[INFO] The Self Registration plugin is enabled.
[INFO] Registration is closed, only administrators can add users.
[PASS] The deprecated self registration public setting was not found in /var/www/passbolt/config/passbolt.php.
[WARN] Host availability checking is disabled.
[HELP] Make sure this instance is not publicly available on the internet.
[HELP] Or set the PASSBOLT_EMAIL_VALIDATE_MX environment variable to true.
[HELP] Or set passbolt.email.validate.mx to true in /var/www/passbolt/config/passbolt.php.
[PASS] Serving the compiled version of the javascript app.
[WARN] Some email notifications are disabled by the administrator.
[PASS] The database schema is up to date.
Database
[PASS] The application is able to connect to the database
[PASS] 31 tables found.
[PASS] Some default content is present.
[FAIL] 1 error(s) found. Hang in there!
-------------------Result of the show queued email command---------------------------------------------
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ // / __ `/ / / __ / __ / / _/
/ / // ( | ) // / // / / /
// _,///./_//__/
Open source password manager for teams
List of queued emails:
No records found.
------------------------Result of Database Query for queued email------------------------------------------
mysql> select * from email_queue;
Empty set (0.00 sec)
mysql>
--------------------------------------Result of Cron command-----------------------------------------------------
● cron.service - Regular background program processing daemon
Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2024-08-05 10:08:50 UTC; 1 day 21h ago
Docs: man:cron(8)
Main PID: 577 (cron)
Tasks: 1 (limit: 2188)
Memory: 1.5M
CPU: 5min 46.303s
CGroup: /system.slice/cron.service
└─577 /usr/sbin/cron -f -P
Aug 07 07:17:01 ubuntu CRON[58735]: pam_unix(cron:session): session closed for user www-data
Aug 07 07:18:01 ubuntu CRON[58756]: pam_unix(cron:session): session opened for user www-data(uid=33) by (uid=0)
Aug 07 07:18:01 ubuntu CRON[58757]: (www-data) CMD (/var/www/passbolt/bin/cron >> /var/log/passbolt.log)
Aug 07 07:18:02 ubuntu CRON[58756]: pam_unix(cron:session): session closed for user www-data
Aug 07 07:19:01 ubuntu CRON[58776]: pam_unix(cron:session): session opened for user www-data(uid=33) by (uid=0)
Aug 07 07:19:01 ubuntu CRON[58777]: (www-data) CMD (/var/www/passbolt/bin/cron >> /var/log/passbolt.log)
Aug 07 07:19:01 ubuntu CRON[58776]: pam_unix(cron:session): session closed for user www-data
Aug 07 07:20:01 ubuntu CRON[58793]: pam_unix(cron:session): session opened for user www-data(uid=33) by (uid=0)
Aug 07 07:20:01 ubuntu CRON[58794]: (www-data) CMD (/var/www/passbolt/bin/cron >> /var/log/passbolt.log)
Aug 07 07:20:01 ubuntu CRON[58793]: pam_unix(cron:session): session closed for user www-data
===============================================================
I have gone through every possible solution, but nothing seems to work now. Any guidance and help would be appreciated.
Let me know if you need any further details or any kind of logs.
Thanks!!