Closed trombik closed 2 years ago
in https://github.com/mikel/mail/issues/1076#issuecomment-275809040, one claims "This is far out of scope for the Ruby Mail library".
first, i cannot remember an application with TLS support whose developer insists that implementing path to CA file is "out of scope".
second, to use a private CA, you need to do far more complex than simply specifying a file.
Hi @trombik , would you like to open a PR for that issue ?
@sylvainbx created #359
Describe the bug
mail delivery fails when TLS verify is enabled because
smtp_settings
does not setca_file
.https://github.com/sleede/fab-manager/blob/d014e4da931bd6f24e47f3de7635ad492458c60d/config/environments/production.rb#L72-L81
see also: https://github.com/mikel/mail/pull/1374
To Reproduce Steps to reproduce the behavior:
SMTP_OPENSSL_VERIFY_MODE
topeer
Expected behavior
mail deliver succeeds.
Screenshots
N/A
Server (please complete the following information):
Browser (please complete the following information):
Additional context
the MTA is
smtp.gmail.com
.