oh as an update, just tried to run the file thepostoffice.php .. its permissions are 777, get the following error:
[root@xxx etc]# ./thepostoffice.php
: bad interpreter: No such file or directory
so maybe not a problem with sendmail, the file? Sounds like PHP not running, strange it should be, any thoughts?