From: Mathias Tausig on
I just found the problem. At the very beginning of the script, I had a
newline between

#!/usr/bin/php5

and

<?php

Thus this newline was printed to stdout and the SMTP Client got this
empty line as its first response instead of the "220 ..." line.

Thanks to everyone for trying to help me out.

cheers
Mathias