How Do I Configure LAMP For Outlook Mail Servers?

March 24, 2014 1.4k views
I want to use my LAMP Stack[Ubuntu 12.04 x64] server to send mails on the php mail() function. How do I set up my send mail, I have seen that the function does not work.
2 Answers
Here you go...
by Lukas Erlacher
This tutorial will tell you how to setup a basic mail server and attempts to teach you a bit about the Postfix MTA (Mail Transfer Agent) in the process.
You just need to install an MTA. Sendmail listens on the loopback interface by default so you should be fine with the default configuration:
sudo apt-get install sendmail
Have another answer? Share your knowledge.