Looking at 2 virtual domains, one is accepting incoming email, and the other domain is rejecting everything. I’m pretty sure this was working before I started trying to get outgoing mail to work, which is a story for another day.
Anyway, I think I’ve put everything back to the way it was but this domain is still rejecting all incoming mail. The only domain specific change I can recall I made was to the mx record and I know I’ve returned that correctly (I changed it from mail.virtualdomain.tld to hostname.tld in a fit of rage trying to get outgoing to work). The errors in the log are like this:
Ok, it seems that the mx change was the first problem. Once the DNS entries got updated, that error went away. Now, the email is being bounced with the error:
The mail server could not deliver mail to me@virtualdomain.tld The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
No such bounced email to other other virtual domain… No errors in the mail.log
Just to be sure it was not account related, I created a new test account and it also fails to receive emails. If I could get a grip on what is wrong, I could figure out how to fix it.
In case someone sees this and could take a look, the test email account is test@whdt.net
Looking at the data from postconf, none of it is specific to a single domain, so I doubt the error is in that? Seems like it would be specific to a domain configuration if one works and another does not?
Just a little more info. I tried creating email accounts on other domains (I just have email accounts on two of the domains, one works and one doesn’t) and they don’t work either.
The only thing unique that I can tell is that the one that works has a unique ip, and the other domains had a shared ip. However, I tried changing one to a unique ip and that didn’t seem to make any difference.
Ok, I understand this may be too strange of a problem, or such an obvious noob question, that I won’t get a help here. Does someone at least have references to someplace where I might find answers? I don’t mind tracking the problem down myself, I just don’t know where to start. Maybe a more in-depth troubleshooting than the one on this system (my DNS all appear to be ok, including reverse DNS).
Wouldn’t it need to look for emailuser.myvirtualdomain.tld? Or is there some lookup that is supposed to say emailuser@myvirtualdomain.tld == emailuser.myvirtualdomain.tld?
In desperation I tried swapping the ips of the one that worked with the one that didn’t. Didn’t make any difference, so I swapped them back. You must have caught it while it was still updating!
$ttl 38400
@ IN SOA lisn-mdv.razercut.com. root.lisn-mdv.razercut.com. (
1315275273
10800
3600
604800
38400 )
whdt.net. IN NS ns1.razercut.com.
whdt.net. IN A 67.215.190.59
www.whdt.net. IN A 67.215.190.59
ftp.whdt.net. IN A 67.215.190.59
m.whdt.net. IN A 67.215.190.59
localhost.whdt.net. IN A 127.0.0.1
webmail.whdt.net. IN A 67.215.190.59
admin.whdt.net. IN A 67.215.190.59
mail.whdt.net. IN A 67.215.190.59
whdt.net. IN MX 5 mail.whdt.com.
whdt.net. IN TXT "v=spf1 a mx a:whdt.net ip4:67.215.190.59 ?all"
whdt.net. IN NS ns2.razercut.com.
So I send an email to kazmaier at marksteiner dot ag (while whdt is in flux) and the syslog entry is:
So the only thing I see at the moment is that the mail works on 67.215.190.58
as is razercut.com on that IP
So I would first change the the hostname of the server to ns1.razercut.com as currently your SOA is not listed and ns1 is.
Then change the SOA of all zonefiles from lisn-mdv.razercut.com to ns1.razercut.com if this is not done automatically
and also make sure that all sites and services are listening on IP 67.215.190.58
if you can per haps recreate the domains on the same shared IP