-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes issue #344-mailer #360
Conversation
@scherztc when you get a chance, deploy this to libappstest and verify sending a password reset email works. |
I deployed this branch to libappstest and attempted to sign up a new user. I got the following error : [d10e9102-6cc5-4bb3-bcab-547b571cdaf6] OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 peeraddr=127.0.0.1:25 state=error: certificate verify failed (Hostname mismatch)): |
@haitzlm : HOLD on this Review. This doesn't do it securely. Let me try again. Update this PR to use these settings for config/environments/production.rb. I followed the model from the Treatment Database.
I tested these on libappstest.libraries.uc.edu and was able to send mail. Also, rebase this PR from the qa branch. git checkout qa |
Here is the secure configuration that works on libappstest and libapps.
We will also need to a value to the .env.production file for MAIL_SMTP_ADDRESS='libappstest.libraries.uc.edu' I can work with you to get all of this into the PR and rebase. |
@haitzlm : I added a commit to account for the missing environment variables, the rexml vulnerability, and sendmail configuration settings. I pushed this branch up to libappstest.libraries.uc.edu and test the mailer by creating a new user. It successfully sent an e-mail. Since we both worked on the code and tested it on qa, I am okay with either of us merging this. |
Thomas, what do you need me to do here? |
fixes #344 - updated to send mail securely