Rename smtp_settings.rb to email_settings.rb
Created by: tstorch
This is a rather small issue I have. Our gitlab server uses sendmail to send emails. The config/initializers/smtp_settings.rb
currently looks like this:
if Rails.env.production?
Gitlab::Application.config.action_mailer.delivery_method = :sendmail
ActionMailer::Base.sendmail_settings = {
location: '/usr/sbin/sendmail',
arguments: '-i -t'
}
end
For the sake of maintainabilty I would like to rename it, but this would mean I have to add this new name to .gitignore, which leaves me with an changed tracked file...
I guess the most reasonable way would be to rename smtp_settings.rb
to email_settings.rb
or something similar.
Would it be possible to this (and probably include the sendmail-example)?