Hi
I have the following problem: there is a domain and it's www data is hosted on my server running DA. The mail server is situated on third party's servers. Domain's DNS is fully managed by third parties too.
Meaning, I only host the web site, the DNS, e-mail and stuff is not mine at all.
Now, there is a PHP script that is sending e-mails to a mail box in that domain, and it is not possible to send that email because server's local DNS tells to sendmail that that domain's mail exchange is hosted locally. It does not know that it should not handle that domain's mail at all, but rather rout it to domain's real mx.
The same problem is with SMTP on the same machine that hosts the site - when me or my other users try to send mail to that domain via my SMTP server they get the "Unknown user" message even before the message gets processed. It checks local e-mail users in that domain and sees that there is no such mailbox, without knowing that mx is on the other server.
How do I solve this?
I guess I have to make SMTP service to know that it should get the MX record for that domain not from local DNS?
Thanks.
I have the following problem: there is a domain and it's www data is hosted on my server running DA. The mail server is situated on third party's servers. Domain's DNS is fully managed by third parties too.
Meaning, I only host the web site, the DNS, e-mail and stuff is not mine at all.
Now, there is a PHP script that is sending e-mails to a mail box in that domain, and it is not possible to send that email because server's local DNS tells to sendmail that that domain's mail exchange is hosted locally. It does not know that it should not handle that domain's mail at all, but rather rout it to domain's real mx.
The same problem is with SMTP on the same machine that hosts the site - when me or my other users try to send mail to that domain via my SMTP server they get the "Unknown user" message even before the message gets processed. It checks local e-mail users in that domain and sees that there is no such mailbox, without knowing that mx is on the other server.
How do I solve this?
I guess I have to make SMTP service to know that it should get the MX record for that domain not from local DNS?
Thanks.