On 10/4/2012 6:09 AM, Ram wrote: > > On 10/04/2012 04:30 PM, DN Singh wrote: >> Hello group, >> >> I want to implement a catch-all address on my system. This is a >> very simple setup where the users are system users. Hence, the >> unrouted mail should go to user bounce. >> After searching documentation I implemented virtual_alias_maps. >> But, all mails are going to the address rather than unrouted ones. >> Please let me know what is wrong. >> >> The virtual file is as below: >> >> @sub.domain.tld bounce >> > > You will have to put all your users in the virtual_alias_maps not > just the "catchall" entry > > > so it will be like > > > us...@sub.domain.tld DUNNO > us...@sub.domain.tld DUNNO > .. > @sub.domain.tld bounce >
NO, this is not an access map, and DUNNO has no special meaning here. The above will deliver mail to the user "DUNNO@$myorigin" -- not what you intend. As suggested earlier, virtual_alias_maps must have a 1-1 mapping. us...@example.com us...@example.com us...@example.com us...@example.com ... @example.com bou...@example.com -- Noel Jones