When I disable a virtual server mails for the domain start piling up in the active queue, and keep mail to other domains from getting through. Restarting postfix seems to let a few mails trough before it gets clogged up again.
This is probably a side effect of something in DNS…disabling moves the zone file, so it makes DNS no longer work for the domain. Which, theoretically ought to make mail stop showing up for the disabled domain, but DNS is caching so it keeps coming for a while. I’m just guessing, but I know DNS being broken can cause this to happen (along with several other things, including spam/AV filter problems).
I’m not actually sure what to do about that. Maybe we should not disable DNS, but just disable all of the visible services (and make the changes needed to bounce all mail for the domain).
I’ll ask Jamie to drop in on this thread, to see if he has any ideas.
This is probably a side effect of something in DNS…disabling moves the zone file, so it makes DNS no longer work for the domain. Which, theoretically ought to make mail stop showing up for the disabled domain, but DNS is caching so it keeps coming for a while. I’m just guessing, but I know DNS being broken can cause this to happen (along with several other things, including spam/AV filter problems).
I’m not actually sure what to do about that. Maybe we should not disable DNS, but just disable all of the visible services (and make the changes needed to bounce all mail for the domain).
I’ll ask Jamie to drop in on this thread, to see if he has any ideas.
The domains that were getting stuck mails had their master DNS records on other servers. I’ll update the domains to have my virtualmin server as master and see if that will fix things.