Problems with PHP mail()

From: Date: Tue, 30 Jan 2001 06:07:34 +0000
Subject: Problems with PHP mail()
Groups: php.general 
Request: Send a blank email to php-general+get-37245@lists.php.net to get a copy of this message
Hey all. I am running RH6.2, Apache 1.3.14/php4.04. I am trying to make a simple mail() call to send myself a message when a 404 is sent - as a means of monitoring dead links. Anyway, I have the sendmail path set (/usr/sbin/sendmail -t -i), but something isn't working right. Here is the mail() usage as I have it: mail("$emailaddress", "404 Error Report", $message); Here is the maillog output: Jan 30 01:03:52 acadia sendmail[21394]: BAA21394: from=nobody, size=257, class=0, pri=30257, nrcpts=1, msgid=<200101300603.BAA21394@acadia.ne.mediaone.net>, relay=nobody@localhost Jan 30 01:03:52 acadia sendmail[21397]: BAA21394: SYSERR(nobody): Cannot exec /usr/cyrus/bin/deliver: Permission denied Jan 30 01:03:52 acadia sendmail[21396]: BAA21394: to=leblanc+webmaster, ctladdr=nobody (99/99), delay=00:00:00, xdelay=00:00:00, mailer=cyrus, relay=webmaster, stat=Operating system error As you can see, it is a permissions problem. Any way to get around this? TIA Lou -- Louis LeBlanc Fully Funded Hobbyist, KeySlapper Extrordinaire :) leblanc@acadia.ne.mediaone.net http://acadia.ne.mediaone.net

« previous php.general (#37245) next »