Hi, I am running a rails app on my local development machine testing
email delivery with a remote mail server running Postfix at Slicehost.
I haven't been able to configure ActionMailer to connect to the mail
server without a timeout. I'm using workling to send emails, and the
timeout error is:
WORKLING ERROR: runner could not invoke MailingsWorker:send_message with
........dump of hash sent to mailings worker.....error was:
#<Timeout::Error: execution expired>
My ActionMailer configuration looks like:
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => "11.22.33.253",
:domain => "mail.example.com",
:port => 25,
:authentication => :plain,
:user_name => "my_username",
:password => "my_password"
}
I am able to send mail locally from the mail server, and can receive
email at the mail server sent with gmail and yahoo. I can also send
email from my rails app using gmail smtp settings.
Does postfix require specific configuration to act as a remote mail
server?
Thank you!,
John
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---