Greetings, I wrote earlier today about a problem I was having with a scrip that occurred after iterating through 256 emails. Well I finally got smart and printed out the error I rescued from my resolve.rb call. The error was "Too many open files - "/etc/resolv.conf"" The code I was using to get the mx records was straight out of the resolv.rb files examples in the comment. So resolv.rb is not closing the file after it gets the dns servers. Anyone else run into the problem? Roy -- Roy Milican roy / milican.com