Hi all,
I’m trying to get action mailer to work with my dev environment on my
OS x
laptop. I have the following configuration for action mailer in my
development.rb
ActionMailer::Base.raise_delivery_errors = true
#send mail with sendmail
ActionMailer::Base.delivery_method = :sendmail
Everything appears to go ok, but when I view my mail.log file from my
mail
viewer, I see the following.
Oct 9 20:09:08 todd postfix/smtp[4648]: 0AC052D9B96: to=<
[email protected]>, relay=none, delay=92235, status=deferred (Host or
domain name not found. Name service error for name=gmail.com type=MX:
Host
not found, try again)
Oct 9 20:09:08 todd postfix/smtp[4650]: 8C284486133: to=<
[email protected]>, relay=none, delay=76, status=deferred (Host or
domain
name not found. Name service error for name=gmail.com type=MX: Host not
found, try again)
Oct 9 20:09:08 todd postfix/smtp[4651]: CF9D72D9B52: to=<
[email protected]>, relay=none, delay=92446, status=deferred (Host or
domain name not found. Name service error for name=gmail.com type=MX:
Host
not found, try again)
Oct 9 20:09:08 todd postfix/smtp[4649]: 5B6612D9C3D: to=<
[email protected]>, relay=none, delay=90714, status=deferred (Host or
domain name not found. Name service error for name=gmail.com type=MX:
Host
not found, try again)
I know this is an OSX issue, and not a ruby issue, but if anyone has set
up
Actionmailer on OSX (sendmail or otherwise), can you send me some info
on
how you were able to get it working? All of the tutorials I find on
sendmail and osx are about 10 pages long and involve receiving email. I
don’t want to set up an email server, I just want to be able to send
test
email!
Thanks,
Todd