From 4e6e01c2b27aeebe2a290b0f8921fe9ec8d5b5dd Mon Sep 17 00:00:00 2001 From: sorlov Date: Fri, 15 Dec 2023 12:35:32 +0600 Subject: [PATCH] Replace MailHog with MailPit #449 --- docker/docker-compose.override.yml.default | 2 +- settings/settings.local.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/docker-compose.override.yml.default b/docker/docker-compose.override.yml.default index 8a66bb53a..efdfe3655 100644 --- a/docker/docker-compose.override.yml.default +++ b/docker/docker-compose.override.yml.default @@ -93,7 +93,7 @@ services: mailhog: <<: *service-defaults - image: skilldlabs/mailhog + image: axllent/mailpit container_name: "${COMPOSE_PROJECT_NAME}_mail" labels: - 'sdc.port=8025' diff --git a/settings/settings.local.php b/settings/settings.local.php index 8d1f54097..663f59871 100644 --- a/settings/settings.local.php +++ b/settings/settings.local.php @@ -10,3 +10,6 @@ // Global $settings['file_private_path'] = '../private-files'; +// Sendmail command for symfony_mailer. +$settings['mailer_sendmail_commands'][] = ini_get('sendmail_path'); +$config['symfony_mailer.mailer_transport.sendmail']['configuration']['query']['command'] = ini_get('sendmail_path') ;