Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I thought I understood "Alias domains" as that it's simply an alias for another domain! So when I set up a mailbox like "", and add "" as a domain alias for "" the address "" would also work... But no!

So, I've added these domains:


I've created this mailbox:


Then I mapped these alias domains:

  • =>

And then when I send a mail to I receive this error:

Recipient address rejected: User unknown in virtual mailbox table (state 13).

I don't want to create an alias for every domain, as I have a few. I also don't want to use a wildcard (like info@*) because there are also other domains that aren't aliases of

So... what are these exactly?

share|improve this question
I expected the same and still don't understand why that's not the case. – Josh M. Jan 26 '15 at 21:12
up vote 3 down vote accepted

The explanation is in the documentation:

You want "alias mailboxes" aka virtual_mailbox_alias and virtual_mailbox_maps but talk about "alias domains":

share|improve this answer
I can't seem to make sense of the docs - how do you have alias any mailbox to <mailbox> – Josh M. Jan 26 '15 at 21:16

@Josh M.

I have no idea whether this is the right way and/or good practice but I'm using something like this:

virtual_alias_maps = regexp:/etc/postfix/domain_rewriting pgsql:/etc/postfix/pgsql/

$ cat /etc/postfix/domain_rewriting 
/^(.*)$/     ${1}
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.