FC3: php mail() + postfix problem

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

 



Hi everyone!
I have the following problem with my Fedora Core 3 - when I want to send an 
e-mail from a php script with the mail() function it does not work.
If I try to send e-mail from any other mail client (KMail, Mozilla, Outlook 
Express...) it works with no problem!

From the Apache error log I get this:
	sendmail: fatal: chdir /var/spool/postfix: Permission denied

I have tried to change the configuration files of php and postfix, but nothing 
seems to work. I use the following php packets:
php-5.0.2-8
php-odbc-5.0.2-8
php-devel-5.0.2-8
php-mysql-5.0.2-8
php-pear-5.0.2-8
php-imap-5.0.2-8

The same problem was when I was using php version 4.3.9 and 4.3.10!

In "php.ini" I have this:
	[mail function]
	SMTP = localhost
	smtp_port = 25
	sendmail_path = /usr/sbin/sendmail -t -i

I use postfix-2.1.5-2.4.FC3 and Apache packets:
httpd-2.0.52-3.1
httpd-suexec-2.0.52-3.1

In the "/etc/postfix/main.cf" I have the following line:
	mail_owner = postfix
Should I change to some other user rather than postfix - but who (apache)?

Ah yes - the php script(file) worked fine in my RedHat 9...

Anyone have any idea where I am wrong?

Matej

Attachment: pgpqHWFbDcPKO.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux