2009/4/27 morphium <morph...@morphium.info>: > I want my postfix test system to accept eMail to any address and > redirect it i.e. t...@morphium.info (and not to the specified > recipient). > How could I accomplish that? > Could recipient_canoncial_maps or virtual_alias_maps be helpful? > I can't get it working on my own, so I would be glad of a bit of assistance.
virtual_alias_maps will do the job for you, though I believe you need to be able to enumerate all the possible domains (Postfix makes it difficult for you to fail really hard, like being an open relay). I list all the domains in virtual_alias_domains, then add a catchall on each one to do whatever address you want. I suspect there may be a better way, someone here might know. Also, you need to provide the output of "postconf -n" if you're to get good help. Saying "I can't get it working" doesn't tell us anything.