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=<[EMAIL PROTECTED]>,
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 :)
[EMAIL PROTECTED]
http://acadia.ne.mediaone.net

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to