View Single Post
Old 15th November 2008, 22:52
solutions_linux solutions_linux is offline
Junior Member
Join Date: Nov 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Originally Posted by linuxuser1 View Post
How can i set up my debian servers - one with postfix and 1 with sendmail to allow a php script to use the mail() function to send e-mail. Both servers have ISPConfig installed.

What i have in my php.ini =
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail

The php.ini is located at /etc/php4/apache2/php.ini

Sendmail is legacy MTA of Unix(Its location is hardcoded in many previous apps). So, while postfix installation, we need to first forcibly uninstall sendmail Then postfix installs its own binary named sendmail in /usr/bin/sendmail.
So, I mean to say that sendmail binary exists in both. Your app will work in either cases.
Reply With Quote