Mail Problem domain.nl to subdomain.domain.nl

inetworx

Verified User
Joined
Feb 23, 2005
Messages
16
Question.

I have 1 domain domain.nl that has diffent (9)subdomains because there are 9 schools on it. The domain is on a Reseller Pack and makes subdomains as domains (New user domainname = domain.domain.nl)

Now the domain.nl use a external Mailserver: mail 80.126.152.xx

The Subdomains must use the Direct Admin mailserver and webmail

The problem is that domain.nl can not send mail to the subdomains and the subdomains not to domain.nl

The domain.nl emailaddresses are not in DirectAdmin... but on the external server.


Can someone tell me how to fix this problem?
 
If the subdomains are set up as separate domains I believe it should work.

What errors are you seeing in the logs?

Jeff
 
jlasman said:
If the subdomains are set up as separate domains I believe it should work.

What errors are you seeing in the logs?

Jeff

The mail for domain.nl is send to external mailserver, I don't know the errors there...

The external server is a exchange server, I think the problem is there and not on my Direct Admin server. I really don't know what they are doing on the exchange server.

I have changed the MX for domain.nl to the IP of the exchange server. All the subdomains (subdomain.domain.nl) are on my mailserver, no MX change for them. I think I did the right thing and it have to work this way, but it doesn't :(
 
You still haven't responded with specific errors, so there's no way to even consider helping you.

Jeff
 
jlasman said:
You still haven't responded with specific errors, so there's no way to even consider helping you.

Jeff


The error is that domain.nl can not send email to domain.domain.nl domain.nl is not on my server so I don't know the errors there.

When I try to email them I get the error "domain not exist" The problem is that the domain is hosted on my server, the email domain.nl is on a external server, the subdomain email is on my server. Direct Admin seems not accepting email from emailadresses on that domain that does not exist in the control panel.

Now I have made all the pop3 accounts from all the @domain.nl emailaddresses and it works, but the email is now being redirected to the external server. That's not how it must be...
 
Neither domain.nl nor domain.domain.nl are set up properly.
Code:
[jeff@of1 jeff]$ dig domain.nl
 
; <<>> DiG 9.2.1 <<>> domain.nl
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 10268
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
 
;; QUESTION SECTION:
;domain.nl.                     IN      A
 
;; AUTHORITY SECTION:
nl.                     10800   IN      SOA     ns.domain-registry.nl. hostmaster.domain-registry.nl. 200505280 28800 14400 2592000 14400
 
;; Query time: 4250 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Sat May 28 21:12:08 2005
;; MSG SIZE  rcvd: 93
 
[jeff@of1 jeff]$ dig domain.domain.nl
 
; <<>> DiG 9.2.1 <<>> domain.domain.nl
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 7090
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
 
;; QUESTION SECTION:
;domain.domain.nl.              IN      A
 
;; AUTHORITY SECTION:
nl.                     10800   IN      SOA     ns.domain-registry.nl. hostmaster.domain-registry.nl. 200505280 28800 14400 2592000 14400
 
;; Query time: 4223 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Sat May 28 21:12:17 2005
;; MSG SIZE  rcvd: 100
 
[jeff@of1 jeff]$
I suppose there's a possibility you still haven't given me the name of the domains in question, even though you assure me you have.

And you still haven't given me any specific error message.

Good luck on figuring this out.

Jeff
 
I suppose there's a possibility you still haven't given me the name of the domains in question, even though you assure me you have.

And you still haven't given me any specific error message.

Good luck on figuring this out.

Jeff [/B]

Okay.

The story ;)

I have a domain pcsl.nl , under this domain there are 12 subdomains , one of them is dezwaluw.pcsl.nl

Al the websites are hosted on my server. Al the e-mail for the subdomains are on my server. The e-mail of pcsl.nl is on a external server. Both (subdomains and domain) can sent e-mail to anyone but sending email from pcsl.nl to dezwaluw.pcsl.nl and from dezwaluw.pcsl.nl to pcsl.nl is not possible, this emails are rejected.

I can't find any errors in the log. I can't see the log of the external server, it's on a location of pcsl (It's a school)
 
Check the MX records section of the domain administration pages for pcsl.nl, and make sure that you have it set up properly. You have to tell exim the email is on a separate server; just changing the MX record won't do it.

That's most likely the cause of the problem.

Jeff
 
jlasman said:
Check the MX records section of the domain administration pages for pcsl.nl, and make sure that you have it set up properly. You have to tell exim the email is on a separate server; just changing the MX record won't do it.

That's most likely the cause of the problem.

Jeff

Maybe you can tell me what else I have to change here... I have changed the mail A Record to the other IP and the POP to the other IP of the external server
 
Your DNS looks fine:
Code:
dig dezwaluw.pcsl.nl mx
dezwaluw.pcsl.nl.   14400 IN MX 10 mail.dezwaluw.pcsl.nl.
mail.dezwaluw.pcsl.nl. 14400 IN A  195.242.98.158

dig pcsl.nl mx
pcsl.nl.            14384 IN MX 10 mail.pcsl.nl.
mail.pcsl.nl.       14384 IN A  80.126.152.79

How about this checkbox:
Code:
Use this server to handle my emails.
If not, change the MX record and uncheck this option
It should be unchecked for pcsl.nl, and checked for the others.

Jeff
 
jlasman said:
Your DNS looks fine:
Code:
dig dezwaluw.pcsl.nl mx
dezwaluw.pcsl.nl.   14400 IN MX 10 mail.dezwaluw.pcsl.nl.
mail.dezwaluw.pcsl.nl. 14400 IN A  195.242.98.158

dig pcsl.nl mx
pcsl.nl.            14384 IN MX 10 mail.pcsl.nl.
mail.pcsl.nl.       14384 IN A  80.126.152.79

How about this checkbox:
Code:
Use this server to handle my emails.
If not, change the MX record and uncheck this option
It should be unchecked for pcsl.nl, and checked for the others.

Jeff

Aaahhh option only shows in user MX change, not in the Admin dns changes. Have checked this box off for pcsl.nl I shall let you know if it works.

Thanks!
 
Last edited:
Back
Top