Wildcard Subdomains and Postfix

1 post / 0 new
#1 Tue, 10/14/2008 - 09:27
joeles

Wildcard Subdomains and Postfix

I like the new option for having a virtual server respond for for all subdomains, but it only configures Apache and BIND. Is it possible Virtualmin to also configure Postfix to accept mail for all subdomains? Really what I need is to to have mail sent to user@*.example.com redirected to user@domain.com. I have a script where all mail for example.com is redirected for processing. No mail is actually delivered to any mailbox. I think the following dns would get me half way there, but how do I tell Postfix to respond?

*.example.com. IN MX 5 example.com.