Question

How Do I Configure LAMP For Outlook Mail Servers?

Posted March 24, 2014 3.8k 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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers
Here you go...
https://digitalocean.com/community/articles/how-to-set-up-a-postfix-e-mail-server-with-dovecot
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
Submit an Answer