2009/2/5 Thodoris <tgol@xxxxxxxxxx>:
I think that the OP mentioned the word fedora somewhere above...
Oh sorry, I'm so stupid... Anyways, if you want to send mail to large
providers you'll need to use a relay. I found a nice tutorial about
how to set it up with google apps.
It was for Ubuntu but you just have to install msmtp and follow the other steps.
Here it is: http://nanotux.com/blog/the-ultimate-server/4/#l-mail
I did it on my little gentoo server here at home and it works great.
Well if I am not getting what you say in the wrong way I should say that
you don't need to use a relay because you don't need a mail server at all.
The point is that PHP can send mail with the mail() function using a
local mail client like sendmail's client part or something coded in pure
PHP.
Keep in mind that you don't need to have a mail server in your PC in
order to send mail. Similarly PHP doesn't need to have a local mail
server in order to send mail.
So you don't need extra mail configuration assuming of course that you
don't need to do something extreme. You just use mail() and the mail
gets sent.
--
Thodoris