Sending mail times out (ActionMailer)


#1

Hi!

I’m on debian. Sending a mail from Rails times out:

Timeout::Error (execution expired):
/usr/local/lib/ruby/1.8/timeout.rb:54:in new' /usr/local/lib/ruby/1.8/net/protocol.rb:206:inold_open’
/usr/local/lib/ruby/1.8/timeout.rb:56:in timeout' /usr/local/lib/ruby/1.8/timeout.rb:76:intimeout’
/usr/local/lib/ruby/1.8/net/protocol.rb:206:in old_open' /usr/local/lib/ruby/1.8/net/smtp.rb:393:indo_start’
/usr/local/lib/ruby/1.8/net/smtp.rb:378:in start' /usr/local/lib/ruby/1.8/net/smtp.rb:316:instart’
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:447:in
`perform_delivery_smtp’

The mail server is up and working, the problem lies somewhere in Ruby
code.

Any ideas?


#2

Does your email server require user authentication to send?

E


#3

No, I found the problem though: apparently the DNS on the server is
broken.
I haven’t found the exact cause, but this is not a rails issue.

Thanks alot anyway,
Rob


#4

Robert MannI wrote:

No, I found the problem though: apparently the DNS on the server is
broken.
I haven’t found the exact cause, but this is not a rails issue.

Thanks alot anyway,
Rob

Did you ever find what the problem was?