Ashley Sheridan wrote: > On Fri, 2009-02-06 at 16:30 +0200, Thodoris wrote: >>> 2009/2/6 Thodoris <tgol@xxxxxxxxxx>: >>> >>>> 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 >>>> >>> >>> 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. >> > I've never had an email bounced because of where it came from based on > IP. I have had emails bounced based on the email headers that were sent. > Always check the headers first. Even MessageLabs won't block an email > based on the IP. > > > Ash > www.ashleysheridan.co.uk > > Ever heard of RBL or DNSBL? I use it on my email server and so do many others. It checks the IP of the sending host against a list or set of lists that contain addresses such as, known spammers, known open relays, blocks of IPs that are dynamic (used by ISPs for home customers), etc. If the sender is found in the list, the receiver terminates the connection and doesn't even accept the email. It's actually very slick. I use the list at spamhaus.org. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php