This is a toughy to explain, so please bear with me...
I have a DirectAdmin box that hosts a few domains. It also acts as the DNS server for those domains. One of the clients (we'll call them "foo.com"), for which I host a web site, hosts their own email. The IP address for "www.foo.com" resolves to my DirectAdmin box. The IP address for "mail.foo.com" resolves to the IP address for the mail server they have in their building.
Here's a little code snippet from the DNS entry screen I have on my DirectAdmin server for them. ns1.bar.com and ns2.bar.com resolve to my DirectAdmin server (it's the same server that hosts the web domain for the client).
On the web site that I host for this company I have a web-based "contact" form that, when completed, is supposed to send email to specific recipients based on a selection the user makes from a drop down list. For instance, if the user selects "President", the web site is supposed to fire off an email to the president's actual email address "[email protected]".
Problem is, the email never seems to makes it beyond the server that's hosting the site. Here's a code snippet from the /var/log/exim/mainlog file that shows that the form attempts to send an email from the Contact Form...
On the receiving end of the transaction (when I watch the mail log on the server at my client's office) I can see no activity that would indicate that it sees a request for an inbound email from my DirectAdmin server.
So my thought here is that the issue resides in the fact that the server that hosts the domain foo.bar is also the same server that hosts the DNS entries for foo.bar... and somehow this is creating some sort of confusion.
Any thoughts?
Joe
I have a DirectAdmin box that hosts a few domains. It also acts as the DNS server for those domains. One of the clients (we'll call them "foo.com"), for which I host a web site, hosts their own email. The IP address for "www.foo.com" resolves to my DirectAdmin box. The IP address for "mail.foo.com" resolves to the IP address for the mail server they have in their building.
Here's a little code snippet from the DNS entry screen I have on my DirectAdmin server for them. ns1.bar.com and ns2.bar.com resolve to my DirectAdmin server (it's the same server that hosts the web domain for the client).
Code:
mail A 70.90.xxx.yyy
foo.com. A 206.192.xxx.yyy
pop A 206.192.xxx.yyy
www A 206.192.xxx.yyy
www.files A 206.192.xxx.yyy
www.webmail A 206.192.xxx.yyy
foo.com. NS ns1.bar.com.
foo.com. NS ns2.bar.com.
mail MX 10
On the web site that I host for this company I have a web-based "contact" form that, when completed, is supposed to send email to specific recipients based on a selection the user makes from a drop down list. For instance, if the user selects "President", the web site is supposed to fire off an email to the president's actual email address "[email protected]".
Problem is, the email never seems to makes it beyond the server that's hosting the site. Here's a code snippet from the /var/log/exim/mainlog file that shows that the form attempts to send an email from the Contact Form...
Code:
2009-03-27 11:26:13 1LnDwj-00035X-QI <= [email protected] U=apache P=local S=1115 [email protected] T="Web Site" from <[email protected]> for [email protected]
2009-03-27 11:26:13 1LnDwj-00035X-QI ** [email protected] F=<[email protected]> R=virtual_aliases:
So my thought here is that the issue resides in the fact that the server that hosts the domain foo.bar is also the same server that hosts the DNS entries for foo.bar... and somehow this is creating some sort of confusion.
Any thoughts?
Joe