Postfix user unknown in virtual alias table for users using @

SYSTEM INFORMATION
OS type and version debian 12
Webmin version 2.202
Virtualmin version 7.20.2

I have a problem with backup restored domain in my recenltly installed virtualmin/webmin instance. For users created using a username like user.domain postfix virtual alias table works fine and users can receive email. But for users using usernames like user@domain the email is bounced due “user unknown in virtual alias table”

I noticed that when the user in the virtual alias mapping is like user.domain the translation shown in the mail log is like “user.domain@serverHostname” and mail is delivered. But when uses the @ the translation is simply user@domain.
I created a new user, and the mapping that is automatically created is from “user@domain” to “user@domain”.
In my old system i have different mappings when the user uses the @. I have some domains using “user-domain” and some others directly “user@domain” but no one using “user@domain”. Anyway i manually changed the mapping to fit “user@domain” and the same happens. email is bounced.

I think it should show “username@domain”@serverHostname on the mail log. i really dont understand how this virtualmapping table works, because the “maps to” part should not have any effect in the mail be recognized as local relay or not.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.