I would like to enable a custom SMTP account when a hub is installed prior to the admin registration to ensure that the admin gets the verification email. I have had too many problems reliably receiving messages sent from the default sendmail configuration. I know that the PHPMailer addon is available, but I need to enable this from the command line before the admin or even the database has been installed. I don't think this is possible. Hacking around the existing installation workflow is a pain and seems like a bad idea for maintenance.
Does anyone know how to configure the default sendmail to use a custom SMTP server with authentication? This can be a system-wide setting because it is in the context of a Docker container.