I was just exploring some features of virtualmin, i did not change anything. I just went into spamassasin settings and updates the allow list and added couple to deny list. Other than that i went to Virtualmin>system settings >re-check configuration. it told me your system is not ready for virtualmin (at this point the system was working fine) It had asked me to update the DNS list, so i added 188.8.131.52 in there along with the default gateway. Also it says you should disable BIND so i tried to uncheck it from module list but it didnt let me. so after that i am unable to receive emails, i can send them. but i can not get them, before when i was trying to send from hotmail i was getting the following error
This is the mail system at host domain.local.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<user.domain@Email> (expanded from <email@example.com>): Host or domain name
not found. Name service error for name=Email type=A: Host not found
so then i changed the hostname to domain.ca and then when i send email from hotmail i do not get undeliverd mail error but i dont get the email at the other end either.
PS: i think i somehow screwed up the dns :(