SMTP settings endpoints disabled error message after update

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.)
[ 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

Good morning

I updated passbolt to latest version 3.9.0 → 3.12.0.

In the administration interface, in the “Mail Server” tab, I have an error popup “SMTP settings endpoints disabled”

My current settings are in passbolt.php

    'EmailTransport' => [
        'default' => [
            'host' => 'xxxx',
            'port' => 587,
            'username' => 'xxxx',
            'password' => 'xxxx',
            'tls' => true,
        ],
    ],
    'Email' => [
        'default' => [
            'from' => ['xxxx@xxxx.com' => 'xxxx'],
        ],
    ],
'passbolt' => [
        // 'registration' => [
        //     'public' => false,
        // ],
        'ssl' => [
            'force' => true,
        ],
        'email' => [
            'validate' => [
                'mx' => true,
            ],
        ],
        'security' => [
            'smtpSettings' => [
                'endpointsDisabled' => true,
            ],
        ],
    ],

Emails work in this configuration.

What should I do to configure emails from the administration part?

Thank you and good day.

Hello @anthony ,

as your configuration file shows, you disabled the smtp settings endpoints:

      'security' => [
            'smtpSettings' => [
                'endpointsDisabled' => true,  // Change this value to false, or delete the block
            ],
        ],

You may enable them and later disable them again once your SMTP Settings are set in the administration tab.

This can also be done with environement variable: PASSBOLT_SECURITY_SMTP_SETTINGS_ENDPOINTS_DISABLED

2 Likes

The following internal ticket PB-24080 to provide to the administrator a proper visual feedback if the entry points are disabled.