From 6e1dd93ddc285b15b1bf1680040727eb5db72a4b Mon Sep 17 00:00:00 2001 From: orhtej2 <2871798+orhtej2@users.noreply.github.com> Date: Tue, 4 Jul 2023 00:11:36 +0200 Subject: [PATCH] Use `sendmail` to send mail. There seems to be a problem in interop between Laravel's mail system and default ynh conf that allows unauthenticated SMTP usage. Using `sendmail` gets around this problem. --- conf/.env | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/.env b/conf/.env index c360ae8..322bb89 100644 --- a/conf/.env +++ b/conf/.env @@ -117,7 +117,7 @@ COOKIE_SECURE=false # If you want Firefly III to mail you, update these settings # For instructions, see: https://docs.firefly-iii.org/advanced-installation/email # If you use Docker or similar, you can set these variables from a file by appending them with _FILE -MAIL_MAILER=smtp +MAIL_MAILER=sendmail MAIL_HOST=127.0.0.1 MAIL_PORT=25 MAIL_FROM=__EMAIL__ @@ -326,4 +326,4 @@ FIREFLY_III_LAYOUT=v1 # # If you're stuck I understand you get desperate but look SOMEWHERE ELSE. # -APP_URL=http://__DOMAIN____PATH__ \ No newline at end of file +APP_URL=http://__DOMAIN____PATH__