Commit 117f23de authored by Kirill Smelkov's avatar Kirill Smelkov

X email sending via sidekiq draftly works

parent 8d8b8c5f
...@@ -33,13 +33,15 @@ configuration.email_reply_to = noreply@example.com ...@@ -33,13 +33,15 @@ configuration.email_reply_to = noreply@example.com
# FIXME XXX smtp_enable not used yet # FIXME XXX smtp_enable not used yet
configuration.smtp_enable = true configuration.smtp_enable = true
configuration.smtp_address = smtp.server configuration.smtp_address = smtp.server
configuration.smtp_port = 456 configuration.smtp_port = 465
configuration.smtp_user_name = smtp user configuration.smtp_user_name = smtp user
configuration.smtp_password = smtp password configuration.smtp_password = smtp password
configuration.smtp_domain = lab.example.com configuration.smtp_domain = lab.example.com
configuration.smtp_authentication = login configuration.smtp_authentication = login
configuration.smtp_enable_starttls_auto = true configuration.smtp_enable_starttls_auto = true
configuration.smtp_openssl_verify_mode = peer
# XXX none insecure -> peer?
configuration.smtp_openssl_verify_mode = none
configuration.default_can_create_group = true configuration.default_can_create_group = true
configuration.username_changing_enabled = true configuration.username_changing_enabled = true
......
...@@ -17,5 +17,8 @@ if Rails.env.production? ...@@ -17,5 +17,8 @@ if Rails.env.production?
authentication: :{{ cfg('smtp_authentication') }}, authentication: :{{ cfg('smtp_authentication') }},
enable_starttls_auto: {{ cfg('smtp_enable_starttls_auto') }}, enable_starttls_auto: {{ cfg('smtp_enable_starttls_auto') }},
openssl_verify_mode: '{{ cfg("smtp_openssl_verify_mode") }}' openssl_verify_mode: '{{ cfg("smtp_openssl_verify_mode") }}'
# ca_path:
# ca_file:
} }
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment