Ruby on Rails
ActionMailerWontSendMail (Version #2)

Action Mailer Won’t Send Mail —

specifically— 550 relay attempt failed
Some additional possibilities you might want to check.

for relaying errors!

  • /etc/mail/access
  • /etc/mail/LocalIP

Make sure 127.0.0.1 is in the list. You should be able to get around this using the ActionMailer::Base.configurations but for some reason it didn’t work for me. Since I have root access, I didn’t think I should have any problems, especially since it was working on another box just fine.

Hope this saves someone a few minutes.

Action Mailer Won’t Send Mail —

specifically— 550 relay attempt failed
Some additional possibilities you might want to check.

for relaying errors!

  • /etc/mail/access
  • /etc/mail/LocalIP

Make sure 127.0.0.1 is in the list. You should be able to get around this using the ActionMailer::Base.configurations but for some reason it didn’t work for me. Since I have root access, I didn’t think I should have any problems, especially since it was working on another box just fine.

Hope this saves someone a few minutes.