Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Oct 28, 2010 9:28 am 
Offline

Joined: Thu Oct 28, 2010 9:18 am
Posts: 1
Location: USA
I recently signed up for Linode after a resounding recommendation on IRC from someone, and I'm in the process of moving a Rails 3 app I'm currently developing on Heroku over to my new VPS on Linode.

The app works just fine, but after setting up exim for outoing email based on this guide, I'm not seing mails sent via ActionMailer in Rails 3 being delivered, even though I was able to send a test mail just fine from the shell.

Looking at the log in /var/log/exim4, emails seem to be going out (i've replaced the from email address with (user@example.com in this post):

2010-10-28 05:34:49 1PBRgv-0002fH-MI <= <> R=1PBRgv-0002fG-M3 U=Debian-exim P=local S=1700
2010-10-28 05:34:51 1PBRgv-0002fH-MI => user@example.com R=dnslookup T=remote_smtp H=ASPMX.L.GOOGLE.com [74.125.65.27] X=TLS1.0:RSA_ARCFOUR_MD5:16 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com"
2010-10-28 05:34:51 1PBRgv-0002fH-MI Completed

Not sure why it's still referencing google in there, I've commented out all the Google Apps specific references from when I used that to send emails, and since restarted Rails/nginx.

Is there anything else I need to set up in Rails to get it to use exim? Here's the config settings from my production.rb file:

config.action_mailer.delivery_method = :sendmail
config.action_mailer.perform_deliveries = true
config.action_mailer.default :charset => "utf-8"
config.action_mailer.raise_delivery_errors = false
config.action_mailer.sendmail_settings = {
:location => '/usr/sbin/sendmail',
:arguments => '-i -t'
}


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group