Configure wildcard catch-all email with Postfix

Viewed 2509

I have a setup using Postfix with a MySQL database to configure domains, accounts and aliases.

I can set up a catch-all address when using a @example.com mail and forward it to account@example.com.

Now I want a more advanced catch-all, like user-%@example.com to forward all to alice@example.com and prod-%@example.com forward to bob@example.com. % should be any alpha-numeric letter combination like user-1@example.com or prod-asdf@example.com.

Is this possible or do I need to change my setup?

1 Answers
Related