From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QTJ2p-0007jj-Vm for garchives@archives.gentoo.org; Sun, 05 Jun 2011 19:31:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F73B1C067; Sun, 5 Jun 2011 19:31:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E656F1C067 for ; Sun, 5 Jun 2011 19:31:24 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7AEB92AC032 for ; Sun, 5 Jun 2011 19:31:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id DB4938003C for ; Sun, 5 Jun 2011 19:31:23 +0000 (UTC) From: "Petteri Räty" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petteri Räty" Message-ID: Subject: [gentoo-commits] proj/recruiting-webapp:master commit in: config/environments/ X-VCS-Repository: proj/recruiting-webapp X-VCS-Files: config/environments/production.rb X-VCS-Directories: config/environments/ X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Räty X-VCS-Revision: c4792d6fee66cd1ab09cf6d115876c6596be917b Date: Sun, 5 Jun 2011 19:31:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 265c5df28bca85bec09c47e7d4eb8326 commit: c4792d6fee66cd1ab09cf6d115876c6596be917b Author: Petteri R=C3=A4ty gentoo org> AuthorDate: Sun Jun 5 19:29:50 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Sun Jun 5 19:29:50 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/recruiting-we= bapp.git;a=3Dcommit;h=3Dc4792d6f 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/prod= uction.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 =3D= true # Disable delivery errors, bad email addresses will be ignored # config.action_mailer.raise_delivery_errors =3D false =20 +# We care about email errors +config.action_mailer.raise_delivery_errors =3D true +config.action_mailer.delivery_method =3D :sendmail +config.action_mailer.sendmail_settings =3D { :location =3D> '/usr/sbin/s= endmail', :arguments =3D> '-i -t -f recruiters@gentoo.org' } +# Real hosting location +config.action_mailer.default_url_options =3D { :host =3D> 'recruiting.ge= ntoo.org' } + # Enable threaded mode -# config.threadsafe! \ No newline at end of file +# config.threadsafe!