Re: OS need anything for mail() to work?
| From: | Shawn McKenzie | Date: | Fri, 25 Apr 2008 22:20:55 +0000 |
| Subject: | Re: OS need anything for mail() to work? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-273616@lists.php.net to get a copy of this message | ||
Shawn McKenzie wrote:
Brian Dunning wrote:Actually, I couldn't get an MX, but I can connect to skeptoid.com port 25 from my web/mail server, but not from my home computer. This most likely means that it is blacklisting (maybe via RBL) certain IPs and blocks of IP such as dynamically assigned pools from ISPs. I do this on my mail sever. -ShawnIs there any way for PHP to know that this email is not going through? On Apr 25, 2008, at 1:21 PM, Eric Butera wrote:As far as PHP is concerned it did work, the local MTA accepted it. A class to use SMTP may offer more error reporting. Maybe if skeptoid.com had an MX record? Which it doesn't. -ShawnApr 24 17:03:34 MacBrian postfix/error[10699]: F19D21287847: to=<brian@skeptoid.com>, relay=none, delay=4470, delays=4440/30/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to skeptoid.com[72.32.102.215]: Operation timed out) PHP returned 'TRUE', so how do I tell if it failed or not? Looks like your mailserver is saying no way. You might have to rollup your sleeves and figure out how to make your local postfix relay to your isp's mail server instead of skeptoid as it is probably shutting you down. That is what I had to do at home running ubuntu.