Error while sending mail via PHP mail()

view story

http://serverfault.com – We use postfix and sendmail interface and are trying to send mails using the php mail() function and are getting the following error: Could not execute mail delivery program '/usr/sbin/sendmail -t -i' in /var/www/html/xyz/temp.php on line 9 /usr/sbin/sendmail exists and has execute permissions Server is a virtual dedicated server: Linux version 2.6.9-023stab051.2-smp (root@rhel4-64) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Thu Sep 24 22:32:27 MSD 2009 postfix is running and we are able to send mail via telnet localhost smtp This was running fine for the last two years an (HowTos)