i am working on setting things up on my own server. ran into a few issues. one i had was sendmail not working. alot of posts here on it. and this is one that got me racking my brain. i do not have a domain, nor fqdn. my system is running redhat 9.0 with all updates. everything worked great from the get go except the mail. no mail would go out. issue was resolved by editing the lines below in the file /etc/php.ini :
sendmail_path = /usr/sbin/sendmail -t -i
to read as follows :
sendmail_path = /usr/sbin/sendmail -t -i -f email@address.com
of course using my email address. seems the mail systems were getting a from address of apache@localhost.localdomain . which was rejected every time. hence the " -f " option changes from to the address listed.
my applogies for making a new topic on this one. there were so many with sendmail problems i didn't know where to put this. hope it helps some one.