mirror of
https://github.com/YunoHost-Apps/mobilizon_ynh.git
synced 2024-09-03 19:46:19 +02:00
Update mail.exs
New conf to work with smtp starttls in yunohost
This commit is contained in:
parent
97c47fef40
commit
cc1f250eb7
1 changed files with 10 additions and 3 deletions
|
@ -4,12 +4,19 @@ config :mobilizon, Mobilizon.Web.Email.Mailer,
|
||||||
relay: "127.0.0.1",
|
relay: "127.0.0.1",
|
||||||
#hostname: "127.0.0.1",
|
#hostname: "127.0.0.1",
|
||||||
# usually 25, 465 or 587
|
# usually 25, 465 or 587
|
||||||
port: 25,
|
port: 587,
|
||||||
username: "__YNH_USER__",
|
username: "__YNH_USER__",
|
||||||
password: "__YNH_USER_PASSWORD__",
|
password: "__YNH_USER_PASSWORD__",
|
||||||
# can be `:always` or `:never`
|
# can be `:always` or `:never`
|
||||||
tls: :if_available,
|
tls: :always,
|
||||||
allowed_tls_versions: [:"tlsv1.2"],
|
tls_options: [
|
||||||
|
versions: [:"tlsv1.2",:"tlsv1.3"],
|
||||||
|
verify: :verify_peer,
|
||||||
|
cacerts: :public_key.cacerts_get(),
|
||||||
|
server_name_indication: '__DOMAIN__',
|
||||||
|
depth: 99
|
||||||
|
],
|
||||||
|
ssl: false,
|
||||||
retries: 1,
|
retries: 1,
|
||||||
# can be `true`
|
# can be `true`
|
||||||
no_mx_lookups: false,
|
no_mx_lookups: false,
|
||||||
|
|
Loading…
Add table
Reference in a new issue