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 8.8.8.8 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 user@domain.ca): 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.
Thank you verymuch for reply,
When I setup virtualmin (for email only) I never touched it’s dns settings, I only changed A and MX on godaddy and everything worked fine, until today I did something (I don’t know what). So A and MX are pointing to my virtualmin.
I don’t know if that helps.
Okay, so you’ll need to make sure that none of your servers have the “BIND DNS Domain” feature enabled.
If your server isn’t acting as a DNS server for any of your domains, that feature should always be disabled.
In System Settings -> Features and Plugins, you would want to disable the “BIND DNS Domain” feature there as well, which would prevent future domains from having it enabled.
Our goal at the moment should be to get the System Settings -> Re-Check Config to pass… which may fix your email problem. But if it doesn’t, it’ll at least have your system in a predictable state, which will make fixing things easier to do
You maybe able to decipher this better when I unchecked the bind dns from feature list and pressed save I got the following message
Failed to save enabled features : Your Postfix configuration is missing the system's mail hostname Email from the mydestination line, which will cause mail to bounce.
PS: excuse any typos I’m doing This from a phone while desperately trying to get email and equipment working