Hello I have been trying to find out an answer for almost a week now. There is something I am missing in understanding this directadmin and I thought that maybe you people can help me.
The problem is that I recently noticed that my DA server is only capable of sending emails, but not receiving. I started to dive into this and this is problems so far I am facing:
1. when I try to change user domain mx record it does not get updated.
2. while sending email and checking /var/log/exim/mainlog I see an error:
2012-10-02 14:09:02 H=sending.mail.srv [10.0.0.1] F=<[email protected]> rejected RCPT <[email protected]>: authentication required
2012-10-02 14:09:02 H=sending.mail.srv [10.0.0.1] incomplete transaction (QUIT) from <[email protected]>
now some details.
I have a server with four subdomains.
sub1.university.edu
sub2.university.edu
sub3.
sub4.
I created a reseller per subdomain and assigned separate IP to it.
whenever I create a user for sub1, it gets a domain user.sub1.university.edu domain.
on the IP reseller owns.
all the custom scripts were written before me, I just replaced the guy who created this server so I am still in process of understanding DA mechanics, bind and exim with dovecot.
now zone file of user.sub1.university.edu.db gets created under /var/named dir and it sets SOA to ns1.university.edu
but when I try to:
I get
so university NS servers are telling me that SOA of a site I am requesting is sub1.university.edu
and user.sub2.university.edu SOA is sub2.university.edu etc.
so since sub1.university.edu just like sub2 sub3 and sub4 are domains which my DA server has authority to control, change or create user domains, mx, cnames.
I guess I should create name servers of my own for this. Is it right?
do I need to create ns on my DA and edit my users zone files to use it?
currently my DA server has no ns servers created. it is just using ns1&ns2.university.edu
and its users zone files as well gets created with ns1&ns2.university.edu
but if I create a record for a user: www21.user.sub1.university.edu it appears in
/var/named/user.sub1.university.edu.db
the record displays correctly if I dig it like this:
but if I request info from any other NS I get:
empty record and Authority section:
would I need to create for every sub[1-4] two separate NS? or I could use two NS for all four domains and its subdomains?
cause in that case I would need to assign 8 new ip's which is not very comfortable and efficient.
I believe because my user domains does not have mx records this is why I get that server relay errors? pasted in the top of a post?
so to sum up everything my main problem is that my users cannot receive emails, they get 550 error which is from what I googled is related with relay. And additional problems is that if a user creates subdomain it does not appear anywhere although it is correctly written in users zone file.
any ideas anyone? thank you.
Simonas
The problem is that I recently noticed that my DA server is only capable of sending emails, but not receiving. I started to dive into this and this is problems so far I am facing:
1. when I try to change user domain mx record it does not get updated.
2. while sending email and checking /var/log/exim/mainlog I see an error:
2012-10-02 14:09:02 H=sending.mail.srv [10.0.0.1] F=<[email protected]> rejected RCPT <[email protected]>: authentication required
2012-10-02 14:09:02 H=sending.mail.srv [10.0.0.1] incomplete transaction (QUIT) from <[email protected]>
now some details.
I have a server with four subdomains.
sub1.university.edu
sub2.university.edu
sub3.
sub4.
I created a reseller per subdomain and assigned separate IP to it.
whenever I create a user for sub1, it gets a domain user.sub1.university.edu domain.
on the IP reseller owns.
all the custom scripts were written before me, I just replaced the guy who created this server so I am still in process of understanding DA mechanics, bind and exim with dovecot.
now zone file of user.sub1.university.edu.db gets created under /var/named dir and it sets SOA to ns1.university.edu
but when I try to:
Code:
# dig user.sub1.university.edu mx
I get
Code:
;; QUESTION SECTION:
empty MX record
;; AUTHORITY SECTION:
sub1.university.edu 14400 IN SOA ns1.university.edu ....
and user.sub2.university.edu SOA is sub2.university.edu etc.
so since sub1.university.edu just like sub2 sub3 and sub4 are domains which my DA server has authority to control, change or create user domains, mx, cnames.
I guess I should create name servers of my own for this. Is it right?
do I need to create ns on my DA and edit my users zone files to use it?
currently my DA server has no ns servers created. it is just using ns1&ns2.university.edu
and its users zone files as well gets created with ns1&ns2.university.edu
but if I create a record for a user: www21.user.sub1.university.edu it appears in
/var/named/user.sub1.university.edu.db
the record displays correctly if I dig it like this:
Code:
dig www21.user.sub1.university.edu @sub1.university.edu
but if I request info from any other NS I get:
empty record and Authority section:
Code:
;; AUTHORITY SECTION:
sub1.university.edu. 14400 IN SOA ns1.university.edu hostmaster.sub1.university.edu 2012082803 14400 3600 1209600 86400
would I need to create for every sub[1-4] two separate NS? or I could use two NS for all four domains and its subdomains?
cause in that case I would need to assign 8 new ip's which is not very comfortable and efficient.
I believe because my user domains does not have mx records this is why I get that server relay errors? pasted in the top of a post?
so to sum up everything my main problem is that my users cannot receive emails, they get 550 error which is from what I googled is related with relay. And additional problems is that if a user creates subdomain it does not appear anywhere although it is correctly written in users zone file.
any ideas anyone? thank you.
Simonas