PDA

View Full Version : PHP mail problem


rfontaine
05-07-2006, 08:03 PM
When I attempt to send emails using:

mail('ron@somewebsite.com', 'Jack', 'this is the message I want to send', null,
'-fwebmaster@mywebsite.com');

they always bounce back with:

"A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

ron@somewebsite.com
unrouteable mail domain "somewebsite.com"


When I send mail in this way to sites located off my server, they get this error message. To sites that are on my server, they get through. Why would this be?

Thank you in advance.

vps-vince
05-07-2006, 08:23 PM
You could be banned by an ISP maybe?
Check with them, and maybe have a look on dnsstuff.com to checkout if your server IP is blacklisted?

- Vince

elix
05-07-2006, 08:40 PM
You could be banned by an ISP maybe?
Check with them, and maybe have a look on dnsstuff.com to checkout if your server IP is blacklisted?

- Vince
Generally that is not the cause of this issue......you'd get a specific error saying you were blacklisted if such was the case. Unroutable domain simply means that the domain cannot be resolved (as in DNS).

Make sure your /etc/resolv.conf has the PVPS recursion boxes.

You can paste it to us with

cat /etc/resolv.conf

thanks,

rfontaine
05-07-2006, 09:27 PM
I get this:

nameserver 38.119.118.135
nameserver 204.157.6.3
nameserver 205.177.13.2

Does that seem right?