Richard Lynch wrote:
> 
> > 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.

  I didn't have it in quotes, but I tried it to no avail.

> 
> > 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
> 
> 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.

  It should be; it looks like the problem is in executing deliver.  This
is part of the Cyrus imap server distribution.

I checked the sendmail.cf file, and I found this:

# who I masquerade as (null for no masquerading) (see also $=M)
DM

I vaguely remember reading something about this at
http://www.php.net/mail, from the commentary section:


[EMAIL PROTECTED]
07-Sep-2000 04:30
On my server, sendmail replaced the From: and Reply_To: fields with the
name of my webserver. The solution was to remove the masquarading option
in sendmail.cf (CW macro).
Mauk van der Laan

This doesn't sound like my problem, but could it be the solution?  I
know this is getting OT, but . . .

I would probably do better to avoid makeing deliver world executable, so
is there another solution?

Thanks
Lou


> --
> 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]

-- 
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