SMTP simple open relay testing

I got fed up with telnetting to mail servers to test for open relays, so I found this today. I knew that there had to be something like that out there, and had just been too lazy to go look. But the third time I had to do this by hand, it was in fact lazier to go look for the script to do it for me.