SMTP on linux
If I want to set up a simple SMTP relay on linux that can be used by PHP for sending emails. What is the simplest way to achive this?
The system will not need to recive emails, just act as a realy to allow various websites to send out admin mails. For example wordpress.
Do i need to install a complete mailserver solution, or is there a simpler way to achive this?
I keep reading that phpmail() works by default, but this has never been the case for me.
All I want is a simple solution, the full blown email set up is going to come later. I was thinking I could jsut install something like postfix and do some basic config.
Devil
The system will not need to recive emails, just act as a realy to allow various websites to send out admin mails. For example wordpress.
Do i need to install a complete mailserver solution, or is there a simpler way to achive this?
I keep reading that phpmail() works by default, but this has never been the case for me.
All I want is a simple solution, the full blown email set up is going to come later. I was thinking I could jsut install something like postfix and do some basic config.
Devil
- If you can't explain it simply, you don't understand it well enough. Albert Einstein
- An arrow can only be shot by pulling it backward. So when life is dragging you back with difficulties. It means that its going to launch you into something great. So just focus and keep aiming.
Comments
Here is a sample of PHP code in case you need it (it was from a helpdesk web application that I wrote).
SE Notebook
Ok i can't give you more rep (system don't allow it) but cheers for the pointers, all up and working now
Agreed!
M.S. Information Security and Assurance
B.S. Computer Science - Summa Cum Laude
A.A.S. Electronic Systems Technology
Thanks Guys!
SE Notebook
Make that two of us.
I myself perfer Sendmail just because I have set them up since 1999.