Today I set up apache and sendmail on my Fedora Core 4 machine. Although php (5.x) works, I cannot send mail with the mail() function. In phpinfo() I see:
sendmail_path /usr/sbin/sendmail -t -i
So it appears that php knows where sendmail is. After STFA and STFW I have come to the conclusion that the problem is either:
1) The fact that I have not setup an address at this machine, so all mail is coming from @localhost
Where would I begin to check? I called my ISP, and they are not blocking port 25.