Re: Problems with PHP mail()
| From: | Richard Lynch | Date: | Tue, 30 Jan 2001 08:58:59 +0000 |
| Subject: | Re: Problems with PHP mail() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37270@lists.php.net to get a copy of this message | ||
> Anyway, I have the sendmail path set (/usr/sbin/sendmail -t -i), but
> something isn't working right.
Do you have quotes around that "/usr/sbin/sendmail -t -i" ? You need quotes
in php.ini there, or it ignores the -t -i part cuz it's after a space.
> 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
Is user nobody allowed to send email using sendmail?
Is the user PHP is running as (maybe "nobody", maybe not -- check httpd.conf
"User" line) allowed to execute sendmail.
> 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
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm