Recipient address rejected: User unknown in virtual mailbox table

Hi everyone!, I’m just finish the installation of the Mail-In-a-Box server, everything was fine, but I try to add an alias to one of my accounts as First.Last@domain.net and it said that it was created without errors…

When I try to send an email to the Alias I receive an error saying “Recipient address rejected: User unknown in virtual mailbox table”

I try it within the server same error and from external email server…

I even try to remove the dot (.) and try a normal alias, but didn’t work either…

Is there a way to confirm that the Alias are been set correctly on the server config???

Thanks!!

There isn’t a very simple answer to that. You could follow the Mail-in-a-Box source code to see how it’s set up and see if your system is set up correctly. But assuming you followed the instructions, it’s unlikely you’ll find anything that way. You could also watch /var/log/mail.log to see if anything odd happens or doesn’t happen.

I review the mail.log but nothing show up…In the roundcubemail.log I got this error…

[quote]
[26-May-2015 08:57:25 -0400]: SMTP Error: Failed to add recipient ‘alex@domain.net’. 5.1.1 alex@domain.net: Recipient address rejected: User unknown in virtual mailbox table (Code: 550) in /usr/local/lib/roundcubemail/program/lib/Roundcube/rcube.php on line 1714 (POST /mail/?_task=mail&_u
nlock=loading1432645045405&_lang=en_US&_framed=1?_task=mail&_action=send)[/quote]

This happens when I try to send an email from the webmail client…

In the syslog I get this error:

I remove the alias and create it again but same result.

Any ideas?

Thanks!

I also re-install from a fresh installation same happens again… no matter if its a single alias, it seems that the alias part is broken, at least from the admin page… the alias are not been created…

I even try on the shell script and its shown as created but same error…

Thanks!

It seems that the issue is how the postfix handles the aliases…

If I add the alias First.Last@domain.net (With capitals first letters), the alias doesn’t work!

instead if added as first.last@domain.net (NO capital letters), the alias WORKS even receive the emails from First.Last@domain.net

Thanks @JoshData great solution!

Thanks for figuring this out! The next update will force aliases to lowercase: