mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-24 17:51:49 +02:00
Merge pull request #594 from NODeeJay/mailer_security
Mailer security changed
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
- Breaking change: MAILER_SECURE replaced by MAILER_SECURITY
|
||||||
- WARNING : update to supervisor 2022.11 before installing
|
- WARNING : update to supervisor 2022.11 before installing
|
||||||
- Add access to systime
|
- Add access to systime
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ To use email service, set the follow variables in the config:
|
|||||||
1 = true, 0 = false
|
1 = true, 0 = false
|
||||||
MAILER_HOST=mail.example.com
|
MAILER_HOST=mail.example.com
|
||||||
MAILER_PORT=995
|
MAILER_PORT=995
|
||||||
MAILER_SECURE=1
|
MAILER_SECURITY=none, tls, starttls
|
||||||
MAILER_AUTH_USER=info@example.com
|
MAILER_AUTH_USER=info@example.com
|
||||||
MAILER_AUTH_PASSWORD=your_password
|
MAILER_AUTH_PASSWORD=your_password
|
||||||
MAILER_NOREPLY_NAME=from_name
|
MAILER_NOREPLY_NAME=from_name
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
"MAILER_NOREPLY_EMAIL": "str?",
|
"MAILER_NOREPLY_EMAIL": "str?",
|
||||||
"MAILER_NOREPLY_NAME": "str?",
|
"MAILER_NOREPLY_NAME": "str?",
|
||||||
"MAILER_PORT": "int?",
|
"MAILER_PORT": "int?",
|
||||||
"MAILER_SECURE": "int?",
|
"MAILER_SECURITY": "list(none|tls|starttls)?",
|
||||||
"POSTGRES_DATABASE": "str?",
|
"POSTGRES_DATABASE": "str?",
|
||||||
"POSTGRES_HOST": "str?",
|
"POSTGRES_HOST": "str?",
|
||||||
"POSTGRES_PASSWORD": "str?",
|
"POSTGRES_PASSWORD": "str?",
|
||||||
@@ -48,6 +48,6 @@
|
|||||||
},
|
},
|
||||||
"slug": "joplin",
|
"slug": "joplin",
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||||
"version": "2.9.7-3",
|
"version": "2.9.7-4",
|
||||||
"webui": "[PROTO:ssl]://[HOST]:[PORT:22300]"
|
"webui": "[PROTO:ssl]://[HOST]:[PORT:22300]"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ fi
|
|||||||
# Configure app
|
# Configure app
|
||||||
bashio::config.has_value 'MAILER_HOST' && export MAILER_HOST=$(bashio::config 'MAILER_HOST') && bashio::log.info 'Mailer Host set'
|
bashio::config.has_value 'MAILER_HOST' && export MAILER_HOST=$(bashio::config 'MAILER_HOST') && bashio::log.info 'Mailer Host set'
|
||||||
bashio::config.has_value 'MAILER_PORT' && export MAILER_PORT=$(bashio::config 'MAILER_PORT') && bashio::log.info 'Mailer Port set'
|
bashio::config.has_value 'MAILER_PORT' && export MAILER_PORT=$(bashio::config 'MAILER_PORT') && bashio::log.info 'Mailer Port set'
|
||||||
bashio::config.has_value 'MAILER_SECURE' && export MAILER_SECURE=$(bashio::config 'MAILER_SECURE') && bashio::log.info 'Mailer Secure set'
|
bashio::config.has_value 'MAILER_SECURITY' && export MAILER_SECURITY=$(bashio::config 'MAILER_SECURITY') && bashio::log.info 'Mailer Security set'
|
||||||
bashio::config.has_value 'MAILER_AUTH_USER' && export MAILER_AUTH_USER=$(bashio::config 'MAILER_AUTH_USER') && bashio::log.info 'Mailer User set'
|
bashio::config.has_value 'MAILER_AUTH_USER' && export MAILER_AUTH_USER=$(bashio::config 'MAILER_AUTH_USER') && bashio::log.info 'Mailer User set'
|
||||||
bashio::config.has_value 'MAILER_AUTH_PASSWORD' && export MAILER_AUTH_PASSWORD=$(bashio::config 'MAILER_AUTH_PASSWORD') && bashio::log.info 'Mailer Password set'
|
bashio::config.has_value 'MAILER_AUTH_PASSWORD' && export MAILER_AUTH_PASSWORD=$(bashio::config 'MAILER_AUTH_PASSWORD') && bashio::log.info 'Mailer Password set'
|
||||||
bashio::config.has_value 'MAILER_NOREPLY_NAME' && export MAILER_NOREPLY_NAME=$(bashio::config 'MAILER_NOREPLY_NAME') && bashio::log.info 'Mailer Noreply Name set'
|
bashio::config.has_value 'MAILER_NOREPLY_NAME' && export MAILER_NOREPLY_NAME=$(bashio::config 'MAILER_NOREPLY_NAME') && bashio::log.info 'Mailer Noreply Name set'
|
||||||
|
|||||||
Reference in New Issue
Block a user