2009/2/6 Thodoris <t...@kinetix.gr>:
2009/2/5 Thodoris <t...@kinetix.gr>:
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
Of course he can send mails this way, but they won't be accepted by
many mail providers because of their anti-spam measurments.
They bounce mails that come from dynamic ip ranges like his home
server. I just wanted to help him avoid this because you won't see the
reason until you look at the syslog.
I am sorry didn't get right what you meant after all.
In that case a simple mail() won't do.
--
Thodoris