I’ve just noticed that I’ve got some new user mailboxes which I never created. When I look into the messages, I see that they were addressed to one of my secondary domains that I host on my box, for which I have a domain alias to the primary domain.
To be clear, I have in my aliases: @secondary-domain.com forwards to @primary-domain.com
But in the list of aliases in @primary-domain, I do not have an alias like joe@primary-domain.com. But the box is still letting mail through to joe and in fact it’s delivering it to a new mailbox with full dovecot folder structure that I never created. I’ve tested sending to joe@primary-domain.com and the mail is not delivered and I see “User unknown in virtual mailbox table” in the mail.log. But if I test send to joe@secondary-domain.com, it seems that due to the domain alias, it lets mail actually be delivered to joe@primary-domain.com.
In the past, I’ve seen the error “User unknown in virtual mailbox table” which is what I expected in this case. However, the behaviour seems to have changed at some point along the way.
I also now see a mailbox for root@box.primary-domain.com which I never recall seeing until very recently (0.18 upgrade?).
Any ideas?