From: "Petteri Räty" <betelgeuse@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/recruiting-webapp:master commit in: config/environments/
Date: Sun, 5 Jun 2011 19:31:23 +0000 (UTC) [thread overview]
Message-ID: <c4792d6fee66cd1ab09cf6d115876c6596be917b.betelgeuse@gentoo> (raw)
commit: c4792d6fee66cd1ab09cf6d115876c6596be917b
Author: Petteri Räty <betelgeuse <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 5 19:29:50 2011 +0000
Commit: Petteri Räty <betelgeuse <AT> gentoo <DOT> org>
CommitDate: Sun Jun 5 19:29:50 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/recruiting-webapp.git;a=commit;h=c4792d6f
Production email configs
Add mail settings from robbat2.
---
config/environments/production.rb | 9 ++++++++-
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!
reply other threads:[~2011-06-05 19:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c4792d6fee66cd1ab09cf6d115876c6596be917b.betelgeuse@gentoo \
--to=betelgeuse@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox