When you have a self-signed SSL certificate on your SMTP server, your emails may be blocked with the default configuration.

How to allow self-signed certificates for Matomo emails

You can update the following configuration values in the [mail] section of your Matomo configuration file.

 ssl_disallow_self_signed = 0; 
 ssl_verify_peer = 0; 
 ssl_verify_peer_name = 1;

Once complete, you can use the command ./console core:test-email your-email@example.org on your server to test your updated email configuration.

Previous FAQ: How to disable archiving the segment reports for specific plugins?