Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 use postfix and would like to route all emails which are NOT configured to got to a fallback address. Is that possible? So e.g. -> configured in virtual file and is read by user account john -> is NOT configured as a user and has no entry in the virtual table -> should be added to the mail box:

Thanks in advance


share|improve this question
up vote 2 down vote accepted

The answer is different for local and virtual addresses.

For local addresses, you can use luser_relay; this takes a single fallback address.

For virtual addresses, use virtual_alias_maps to add wildcards per recipient domain.

I should warn you that using catchalls is not recommended, as you cannot properly reject mail; in fact, you will never reject any mail with such a setup, and bouncing them later will produce backscatter spam (and gets you blacklisted PDQ.)

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.