php mail() and postfix

Discussion in 'Server Operation' started by bzzik, Apr 3, 2009.

  1. bzzik

    bzzik New Member

    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!
     
  2. falko

    falko Super Moderator

    Normally it works out of the box, i.e., there's nothing you must change.
     
  3. bzzik

    bzzik New Member

    Sry for late post!

    I fixed it changing in php.ini sendmail_path to sendmail.postfix -t -i
     
: mail(), postfix

Share This Page