Hello,
I just post this message because i used in the past virtualmin and now i started again to use it. I have primary domain witch i make it the default virtual server when i installed the virtualmin. Yestarday i just installed virtualmin with subdomain and with my dynamic dns. write now its installed on : mydomain.net , yestarday was installed vm.mydomain.net and two days ago mydomain.go.ro. Seems the problem persist on all subdomain , main domain etc. I cannot recive emails from nobody i get unknown user: "test"message when i try to send from gmail. I can send emails to everyone but i cannot recive it at all. Where i`m rong ? In the past this thing work like a charm. Also yestarday i get this message : Recipient address rejected: User unknown in virtual alias table.
Its a general problem or its a misconfiguration problem from my side ?
Best regards,
Edy
its a clean install on ubuntu 22.04…should have this behavior on a clean install? in the past this service worked like a charm. i didnt use virtualmin since 2020.
Thanks, that’s what I was looking for. At least postfix is rejecting for a legit reason.
Give me a moment to get to my computer and I’ll send you further diagnostic info as this issue seems to be happening to a few others, though I don’t want to jump to conclusions that it’s an identical issue as there are a few variants.
That was only the first part of the diagnosis… I needed to know that value before I could provide more… Patience
So, yeah you’re facing a common issue whereby there is a bug that affects your copy of Virtualmin.
I’m going to “assume” for a moment that you didn’t adjust any settings during install, which means email “usernames” are in the format of:
user@domain
The bug which affects this is a result of the @ symbol NOT being escaped, which causes Postfix to not be able to map the “virtual alias” to the correct user in the system, therefore causing the “User unknown in virtual aliases” error.
Next…
How many domains are you presently hosting, and how many users have you setup?
Are you in a position to “remove” all email accounts without losing email?
i have one domain and one email address doesent metter if i delete it or no. i install virtualmin on my vps with a clean domain witch i dont use it. i install to test everything to see if works and then ports other domains.
i figure it out. its working. when i created mailboxes because i get login error on roundcube i unchecked **[Primary email address enabled]. i deleted the email address and i check that and its working now, thanks a lot for your help . they should set Create extra Unix user on Postfix systems when using user@domain format by default with yes. Again thanks a lot for your help and your time . Seems its working good now.
It used to be on by default, however a recent code change made it possible for many distros to NOT require the second user.
However, due to a bug the intended functionality was “broke”. It’s been patched, and is either in the current version or coming in an upcoming version. Though the problem is the patch only addresses “newly” created users, so you’d be stuck fixing “old” users that were created prior to the fix.
So yeah, the reason it’s disabled by default now, is it shouldn’t be needed anymore.
I’ve been helping a few people lately get their systems fixed as a result of this nasty bug, and for folks like you am just recommending “for the moment” to go back to the tried, tested, and true method.