Greetings,
I am just learning Linux system administration, so please bear with me :-)
I have a Red Hat Linux 6.1 box that has apache, php4 (module), bind, wu-ftpd, webmin, and the default telnet server installed. When selecting which packages to install, I elected NOT to install sendmail, since I was going to be using CommuniGate Pro.
I had everything compiled and installed from source (IE: no RPM's). The source of CommuniGate Pro was not available, so I installed an RPM. It appears that everything is working perfectly. I can send and receive mail through my windows-based email client, as well as the mail and sendmail programs.
The problem is that PHP won't sent mail using the mail() function. I set the path in the php.ini to /usr/sbin/sendmail, then tried /usr/sbin/sendmail -t (some people say to use that). Either way, it doesn't work.
There are no error messages, in fact, the mail function returns true, so it's working properly, it's just that nothing is being sent.
I have checked my CommuniGate Pro log files, and it's not registering any errors or that anything was sent, so it's like the mail just isn't getting there.
Now, when I manually access sendmail, it works fine, so why wouldn't PHP be able to send mail?
Any help would be greatly appreciated! Thanks in advance.