Dear experts,
i am newbie in linux, i have the following questions about sendmail configurations. i try to solve it for a whole week but at last i failed, please help me to solve it.
this is the basic setting of my linux server:
Domain 1
name server : ns1.domain1.com ip:***.***.***.152
domain 1 domain1.com ip:***.***.***.152
mail server mail.domain1.com ip:***.***.***.152
there is one user in the domain which email box is
user1@domain1.com
Domain 2
name server 1: ns1.domain1.com ip:***.***.***.152
domain 2 domain2.com ip:***.***.***.154
mail server mail.domain2.com ip:***.***.***.154
there is one user in the domain which email box is
user2@domain2.com
is there anything wrong with the dns setting? since my second domain use the same domain name server as domain1.
also the host name of my server is ns1.domain1.com
in my sendmail configurations
i have add domain 2 in the local domain file, and i have add in the user2 to the virtual user table, and i made the database file.
now my problems comes
i can send email to user1@domain1.com
i can send email to user2@domain1.com
i can not send email to user2@domain2.com
and i can get the reply of the mail said it can not find user2@domain2.com
when i check the mail log file in the server, there is nothing related to the failer of sending mail to user2@domain2.com
can anyone help me to solve it? i really need your help. since my server is used in web hosting, if i can not solve the problem, i can not put my clients web inside since they need their mails.
if there is good reference about web hosting server set-up, please let me know.
thanks
zihang