Hello all,
I searched the forums for a bit but have not found a solution to my problem yet. I apologize if it is a cross post.
Note: Domain1.com and Domain2.com are actual domains, but have been renamed for security.
I have a server hosting a php page that uses a webform to send an email. The email gets sent to both a hard coded address,
user@domain1.com, and a user specified email,
user@domain2.com.
When the form goes through, sendmail sends the email to the user specified email, but cannot send it to the hard coded email because it cannot resolve it.
from maillog:
Code:
Jun 18 10:11:05 localhost sendmail[24384]: n5IEAPNT024382: to=<user@domain1.com>, ctladdr=<user@domain2.com> (48/48), delay=00:00:40, xdelay=00:00:00, mailer=esmtp, pri=152830, relay=domain1.com, dsn=5.1.2, stat=Host unknown (Name server: domain1.com: no data known)
I ran host at one point before trying the php page:
Code:
# host domain1.com
domain1.com mail is handled by 10 mail.domain1.com.
Then after running the Php page which now returns nothing:
Code:
# host domain1.com
#
Ping nor nslookup can resolve domain1.com either.
Any help is greatly appreciated.
EDIT: This has since been resolved.