I'm trying to send mail via PHP's
mail() function, but it hangs the script. I tried using sendmail on command line (CentOS 5.8) as was suggested in many posts I've read but it also hangs. This is what im putting in:
sendmail -v email@example.com < message.txt
firstname.lastname@example.org... Connecting to [127.0.0.1] via relay...
and that's it. It hangs there.
Here are the last 2000 lines of logs from /var/log/maillog: logs
I'm clueless as to how to continue debugging this issue, please advise.