Re: mail() w/ postfix problem in Fedora Core 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nathaniel Price wrote:
> I've been searching for the solution to this problem to no avail.
>
> I recently did a clean install of FC3 on a server that was running RH8.
> There were a number of PHP scripts that I had configured to send out
> email for notices or passwords or the like. However, now that I've
> upgraded I can't send mail through the mail() command in PHP.
>
> My problem is exactly like what I found here, but unfortunately that
> question was left unanswerd:
> https://www.redhat.com/archives/fedora-list/2004-December/msg06708.html
>
> To summarize, I have no problem sending email via SMTP (one of the apps
> I run has the option to choose between using PHP mail() or using it's
> own SMTP client). Whenever I try to send mail with mail(), apache logs
> the following error:
>    sendmail: fatal: chdir /var/spool/postfix: Permission denied

Confirm what user PHP is running as.  http://php.net/phpinfo.php

su to that user.

try to do:
cd /var/spool/postfix

Or is 'chdir' not 'cd' ?

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux