Hi,
Currently our PHP install is running fine with MySQL and other such things. Perl is managing to run sendmail correctly however PHP will not run the sendmail correctly, why?
The INI file has been set with the correct /usr/sbin/sendmail path much like Perl but no joy!
Our logs report that whilst the CGI script is getting relayed to our mail exchange the php is trying to root the mail to wwwrun@localhost rather than XXXX.XXX.gov.uk
Logs are:
Feb 23 14:19:20 ukmet-bdev sendmail[12124]: f1NEJJ512121: to=XXXX@XXX.XX.uk, ctladdr=wwwrun (30/65534), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=121185, relay=XXXX.XXXX.XX.uk. [151.170.0.19], dsn=2.0.0, stat=Sent (Ok.)
Feb 23 14:33:06 ukmet-bdev sendmail[12470]: f1NEX6q12470: from=wwwrun, size=47, class=0, nrcpts=0, msgid=<200102231433.f1NEX6q12470@ukmet-bdev.XX.XX.uk>, relay=wwwrun@localhost