Setting up outgoing email for Ruby on Rails
The app works just fine, but after setting up exim for outoing email based on this guide
Looking at the log in /var/log/exim4, emails seem to be going out (i've replaced the from email address with (
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 =>
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.actionmailer.deliverymethod = :sendmail
config.actionmailer.performdeliveries = true
config.action_mailer.default :charset => "utf-8"
config.actionmailer.raisedelivery_errors = false
config.actionmailer.sendmailsettings = {
:location => '/usr/sbin/sendmail',
:arguments => '-i -t'
}