By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,589 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

Will mail() function still work with Postfix and not Sendmail?

P: n/a
I understand (perhaps wrongly) that the mail() function relies on Sendmail
being installed on the server.

However I am wanting to run Postfix and Sendmail will not be loaded.

Ideally I would have liked to have setup a seperate machine as an email
server but the machine I was about to use has suddenly developed a major
dislike for just about any memory stick I insert and therefore is not
operational.

Therefore will the mail() function still operate with Postfix running and
not Sendmail?

Cheers

Phil
Feb 17 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Phil Latio wrote:
I understand (perhaps wrongly) that the mail() function relies on Sendmail
being installed on the server.
It should work fine if you configure it as if sendmail were available
locally.

C.

Feb 17 '07 #2

P: n/a
Phil Latio wrote:
Therefore will the mail() function still operate with Postfix running and
not Sendmail?
I use Postfix, and mail() works fine. Postfix provides a
sendmail-compatible binary at "/usr/bin/sendmail", so PHP
never even notices that sendmail is not installed. (Most
Linux/UNIX mailers do provide such a binary.)

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!
Feb 17 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.