From eb582f51f182af2dde072560b3ec638781c0e3a8 Mon Sep 17 00:00:00 2001 From: aussieserverhosts <65438932+aussieserverhosts@users.noreply.github.com> Date: Sun, 18 Apr 2021 05:18:13 +1000 Subject: [PATCH] Added SERVER_NAME environment variable (#3110) Added SERVER_NAME environment variable to stop laravel framework server name defaulting to localhost, causing mail relays such as Gmail to stop silently dropping emails due to sender name being localhost. --- .env.example | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.env.example b/.env.example index 67d496d47..9e3ed6001 100644 --- a/.env.example +++ b/.env.example @@ -25,6 +25,11 @@ MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION=tls MAIL_FROM=no-reply@example.com +# You should set this to your domain to prevent it defaulting to 'localhost', causing +# mail servers such as Gmail to reject your mail. +# +# @see: https://github.com/pterodactyl/panel/pull/3110 +# SERVER_NAME=panel.yourdomain.com QUEUE_HIGH=high QUEUE_STANDARD=standard