Graceful handling of temporary failure in name resolution wh


#1

Hi,
I’m getting an infrequent “Socket Error (getaddrinfo: Temporary failure
in
name resolution)” when sending e-mail with ActionMailer. Most of the
time,
mail works. But I noticed the error during testing and wondered what
best
practices might be for handling this kind of error. My SMTP settings
look
OK. I’m running RHEL 3 for my Rails app and use an external SMTP server.

I guess I should do some kind of mail queue that lets the user go on his
merry way while retrying until the name resolves?
Thanks in advance for any suggestions,
Bill