I have been trying to get my old apps to send emails, but for some wierd reason I couldnt get it working out of the fox. If you have had similar problems, you can try out this.
Step 1: Update the hostconfig file.
Add the following line to /etc/hostconfig
MAILSERVER=-YES-
Step 2: Update variable myhostname in the file /etc/postfix/main.cf
Set the variable to your hostname, you might need to uncomment the default value.
Step 3: Find your php.ini file and update the sendmail_path and make it
/your/path/sendmail -t -i
Now open another terminal window and do a tail on the log file to see if you have any further errors.
tail -f /var/log/mail.log
You can start the server by running the following command:
sudo postfix start
The above changes worked for me, however you might need to investigate this a little more if you still have trouble.

Pingback: PHP mail() using Sendmail on Mac OS X Leopard (10.5.8) | Gravity Layouts
Pingback: PHP mail() using Sendmail on Mac OS X Leopard (10.5.8)