aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/environments/production.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 27119d2..892b1ab 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -24,5 +24,12 @@ config.action_view.cache_template_loading = true
# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false
+# We care about email errors
+config.action_mailer.raise_delivery_errors = true
+config.action_mailer.delivery_method = :sendmail
+config.action_mailer.sendmail_settings = { :location => '/usr/sbin/sendmail', :arguments => '-i -t -f recruiters@gentoo.org' }
+# Real hosting location
+config.action_mailer.default_url_options = { :host => 'recruiting.gentoo.org' }
+
# Enable threaded mode
-# config.threadsafe! \ No newline at end of file
+# config.threadsafe!