I don't have much experience with linux but I know basic commands and stuff.
I've installed Apache, PHP and MySQL on an old computer running Fedora Core 3. I don't need the computer for much else than web serving, except I want to be able to send emails by the mail() function in PHP from the website.
I recall trying to fix this some time in the past and I think I tried switching the default MTA (Mail Transport Agent) from sendmail to postfix. I don't remember if I succeeded...
All I know is that it doesn't work sending mails now. I created a small test script sending to a hotmail account but it never arrived. So I don't know where to go from here... Please ask me for any logs, settings etc. that you need to help me setup the MTA.
Yeah I'm asking for a complete guide to make this work. I know it's much to ask, but I'm not going to use it for anything else than sending emails from the web site. I don't ask in this manner very often, but I do now because I'm not going to get into and learn every detail about linux MTA's. I just want it to work... (I'm more into the web serving and webdesign part
I also wonder; is it possible to
1) Specify an smtp server which the server always sends to?
2) Specify the "return-path" and/or "from" header? PHP won't automatically insert and some servers won't accept emails without those headers.
(I think it does with one of them, I don't remember which one. I could also be wrong though.)
If you have any links, previous threads or similar, I'll be more than happy to look into them. I already tried searching, though.
I know this is alot to ask from experts on a forum but I'd be REALLY grateful if anyone is willing to help me!
Thanks in advance,