PDA

View Full Version : php mail() and postfix


bzzik
3rd April 2009, 11:02
Hi!

I wonder if someone can help me. On my main server I have only sendmail and php scripts use it without probs.

But on my another server (CentOS 5.2) I have Postfix installed. What should I change in configuration to make php mail() function work with Postfix?

Thanks in advance for any help!

falko
4th April 2009, 13:02
Normally it works out of the box, i.e., there's nothing you must change.

bzzik
12th April 2009, 10:08
Sry for late post!

I fixed it changing in php.ini sendmail_path to sendmail.postfix -t -i