LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Mail to subdomain need to be redirected to mail server in another domain (https://www.linuxquestions.org/questions/linux-networking-3/mail-to-subdomain-need-to-be-redirected-to-mail-server-in-another-domain-731402/)

Tafta 06-08-2009 06:52 AM

Mail to subdomain need to be redirected to mail server in another domain
 
Hello everybody,

We have our BIND server running well. The mail server for our domain works fine too.
Problem came when we need to create a sub domain but the mail server for that sub domain need to be some host in the internet that is not under our domain: 1040249.mail.somewhere.com.

we add an entry like:

subdomain IN A 111.222.222.111
subdomain IN MX 0 1040249.mail.somewhere.com

but it lead to a situation where the mail server for the new subdomain will be:

1040249.mail.somewhere.com.domain.com

Does anyone has any clue how to solve this problem??
Thank you

bathory 06-08-2009 08:35 AM

You miss the dot "." at the end of the MX record. It should be:
Code:

subdomain IN MX 0 1040249.mail.somewhere.com.

Tafta 06-08-2009 09:42 PM

You made me burst a tear for both solving the problem and realizing my useless effort overnight searching over the internet the whole night to fix this :)
thank you very much


All times are GMT -5. The time now is 10:01 AM.