[SOLVED] NEED HELP PLEASE S.O.S I can not receive emails

11 posts / 0 new
Last post
#1 Mon, 10/17/2011 - 18:56

[SOLVED] NEED HELP PLEASE S.O.S I can not receive emails

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 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.

please help.

Thank you

PS: i think i somehow screwed up the dns :(

Mon, 10/17/2011 - 19:33


Well, I suppose the question we need to figure out first is -- is your server acting as a nameserver for any of your domains?

When you register a new domain, and you enter nameservers for that domain -- do those nameservers point to your Virtualmin server?


Mon, 10/17/2011 - 20:01

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.

Please let me know

Mon, 10/17/2011 - 20:04

If it will help I can give u actual domain name and email address

Mon, 10/17/2011 - 20:11

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 :-)


Tue, 10/18/2011 - 10:48 (Reply to #5)

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 :)

Mon, 10/17/2011 - 20:26

"Email" was the hostname before I changed it to domain.ca

Mon, 10/17/2011 - 20:32

Okay, your hostname should be a name in the format "host.domain.tld" (and not domain.tld).

That may be causing some of the trouble you're seeing.

You can change your hostname temporarily by running:

hostname host.domain.tld

You'll then need to update your hostname in /etc/hosts, as well as on the mydestination line of /etc/postfix/main.cf.


Mon, 10/17/2011 - 20:50

OMFG it's working!!!! I'm sure I have told u this many times before but I LOVE YOU!!! What exactly had happend?

PS: even the quotas r workin now :D this is turning out to be a good night Thanx to u sir.

Wed, 02/22/2012 - 06:07

When i have the user@domain setting in the template; i can send and receive emails, this is working, but, if i should receive a reply, it tells me:

The mail system my.self-domain-a.com@domain-b.com, expanded from my.self@domain-a.com: User unknown in virtual alias table

With standard setting like user.domain it looks like this:

The mail system my.self-doman-a@domain-b.com, expanded from my.self@domain-a-com: User unknown in virtual alias table

So, i could bang my head the whole day against the wall, without finding out ;-)

I had a bunch of problems with postfix before, but not dovecot, so i am a little bit confused.

Someone wrote something about a -f flag for saslauthd, to add in /etc/defaults/saslauthd, which is missing at my site, unfortunately.

insights, anybody, please?

Best and thank you in advance j_m

Fri, 02/24/2012 - 00:26 (Reply to #10)

This worked out for me finally.

There are some issues, if you use the install.sh script, so have a look here:


Topic locked