From 0306700847cdabd1fd95f230f8e3ba6a8a544a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 8 Oct 2023 18:21:24 +0200 Subject: [PATCH] Update .env.example --- conf/.env.example | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/conf/.env.example b/conf/.env.example index 5c64113..43f6bea 100644 --- a/conf/.env.example +++ b/conf/.env.example @@ -50,22 +50,35 @@ FILE_UPLOAD_SIZE_LIMIT=100 # Mail system to use # Can be 'smtp' or 'sendmail' -MAIL_DRIVER=smtp +MAIL_DRIVER=sendmail # Mail sender details -MAIL_FROM_NAME=BookStack -MAIL_FROM=bookstack@__DOMAIN__ +#MAIL_FROM_NAME=BookStack +#MAIL_FROM=bookstack@__DOMAIN__ # SMTP mail options # These settings can be checked using the "Send a Test Email" # feature found in the "Settings > Maintenance" area of the system. # For more detailed documentation on mail options, refer to: # https://www.bookstackapp.com/docs/admin/email-webhooks/#email-configuration -MAIL_HOST=localhost -MAIL_PORT=587 -MAIL_USERNAME=__APP__ -MAIL_PASSWORD=__MAIL_PWD__ -MAIL_ENCRYPTION=null +#MAIL_HOST=localhost +#MAIL_PORT=587 +#MAIL_USERNAME=__APP__ +#MAIL_PASSWORD=__MAIL_PWD__ +#MAIL_ENCRYPTION=null + + +MAIL_DRIVER=sendmail + +# The "from" email address for outgoing email +MAIL_FROM=noreply@__DOMAIN__ + +# The "from" name used for outgoing email +MAIL_FROM_NAME=BookStack + +# The command to use for calling sendmail +MAIL_SENDMAIL_COMMAND="/usr/sbin/sendmail -bs" + # General auth AUTH_METHOD=ldap