I have setup two forms at two different domains for a client who, for various reasons, uses another company to host one of the sites. This site/domain is where his e-mail get routed (antispam/mx server). The forms are set to send to myself and five other e-mail address'. They get to me and to another address on my server which should redirect to the client. None of the e-mails which should pass through the mx server get through and the tech at that company claims that they're not even reaching the door (there may be some resentment on their part that my company got the design job for the sites).
Here is what they are saying:
-----------
...mail gets routed through mx1.antispam.lissonline.com then that server forwards it to mail.garyrosen.com. On our anti-spam system, I can see logs of mail that hits it so we know what it's passing (or blocking etc.) - as all mail as to get to it at some point. [they say the forms are not in the logs]
-----------
Here is the code from the form page (garyrosen.com/contact.html):
Note: "8thplanet.com/mailforms/" is where I put some php forms for clients where I don't have control of the hosting.
-----------
-----------
Here is the referers and recipient part of the php file:
-----------
$referers = array('8thplanet.com', 'www.8thplanet.com', 'www.newyorkcondolaw.com', 'newyorkcondolaw.com', 'www.nycondolaw.com', 'nycondolaw.com', 'www.421a.com', '421a.com', 'www.garyrosen.com', 'garyrosen.com', 'mail.garyrosen.com', 'lissonline.com', 'www.lissonline.com', 'antispam.lissonline.com', 'mx1.antispam.lissonline.com');
$valid_env = array('REMOTE_HOST', 'REMOTE_ADDR', 'REMOTE_USER', 'HTTP_USER_AGENT');
$recipient_array = array('john' => 'jmroblin@8thplanet.com', 'gary' => 'grosen@garyrosen.com', 'gr8' => 'garyrosen@8thplanet.com', 'jrose' => 'john@garyrosen.com', 'forose' => 'forms@garyrosen.com', 'jtform' => 'jtest@garyrosen.com');
-----------
I need the forms to get to eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%67%72%6f%73%65%6e%40%67%61%72%79%72%6f%73%65%6e%2e%63%6f%6d%22%3e%67%72%6f%73%65%6e%40%67%61%72%79%72%6f%73%65%6e%2e%63%6f%6d%3c%2f%61%3e%27%29%3b'))
jmroblin@8thplanet.com works fine.
eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%67%72%6f%73%65%6e%40%67%61%72%79%72%6f%73%65%6e%2e%63%6f%6d%22%3e%67%72%6f%73%65%6e%40%67%61%72%79%72%6f%73%65%6e%2e%63%6f%6d%3c%2f%61%3e%27%29%3b')) does not work.
eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%67%61%72%79%72%6f%73%65%6e%40%38%74%68%70%6c%61%6e%65%74%2e%63%6f%6d%22%3e%67%61%72%79%72%6f%73%65%6e%40%38%74%68%70%6c%61%6e%65%74%2e%63%6f%6d%3c%2f%61%3e%27%29%3b')) (redirect to eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%67%72%6f%73%65%6e%40%67%61%72%79%72%6f%73%65%6e%2e%63%6f%6d%22%3e%67%72%6f%73%65%6e%40%67%61%72%79%72%6f%73%65%6e%2e%63%6f%6d%3c%2f%61%3e%27%29%3b'))) gets to the 8thPlanet address but the redirect does not get through.
eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%6a%6f%68%6e%40%67%61%72%79%72%6f%73%65%6e%2e%63%6f%6d%22%3e%6a%6f%68%6e%40%67%61%72%79%72%6f%73%65%6e%2e%63%6f%6d%3c%2f%61%3e%27%29%3b')) (I can check this with webmail) deos not work.
eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%66%6f%72%6d%73%40%67%61%72%79%72%6f%73%65%6e%2e%63%6f%6d%22%3e%66%6f%72%6d%73%40%67%61%72%79%72%6f%73%65%6e%2e%63%6f%6d%3c%2f%61%3e%27%29%3b')) (redirects to eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%67%72%6f%73%65%6e%40%67%61%72%79%72%6f%73%65%6e%2e%63%6f%6d%22%3e%67%72%6f%73%65%6e%40%67%61%72%79%72%6f%73%65%6e%2e%63%6f%6d%3c%2f%61%3e%27%29%3b'))) does not work.
eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%6a%74%65%73%74%40%67%61%72%79%72%6f%73%65%6e%2e%63%6f%6d%22%3e%6a%74%65%73%74%40%67%61%72%79%72%6f%73%65%6e%2e%63%6f%6d%3c%2f%61%3e%27%29%3b')) (redirects to eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%6a%6d%72%6f%62%6c%69%6e%40%38%74%68%70%6c%61%6e%65%74%2e%63%6f%6d%22%3e%6a%6d%72%6f%62%6c%69%6e%40%38%74%68%70%6c%61%6e%65%74%2e%63%6f%6d%3c%2f%61%3e%27%29%3b'))) does not work.
I'm stumped and can't think of anything else to test.
Thanks in advance and sorry for the long winded post.
John
Sounds like this is an SMTP issue between mailservers, and not the fault of PHPFormMail.
Your installation is hosted at 8thplanet.com and uses the system there to send the mails, which is why they get through to
jmroblin@8thplanet.com without any problems.
The problem starts when the SMTP server at 8thplanet.com tries to send to a garyrosen.com address.
I imagine that mx1.antispam.lissonline.com is blocking SMTP connections from the mail server at 8thplanet.com for some reason. Possibly they are applying some sort of header check, employing one or more RBLs to block connections, or some other method.
Your client, or you, need to talk to the people at LissOnline to determine why these e-mails are being blocked.
Best regards
Chris Lander