Juerg Reimann: > Hello everybody, > > I'm trying to setup a mail address that basically gets devnulled. I have > virtual domains, so I did the usual: > > Excerpt from my main.cf: > > 30 alias_database = hash:/opt/local/etc/postfix/aliases > 31 alias_maps = $alias_database
As documented - These tables are used only for domains that match $mydestination. > donotreply@some.domain devnull - The syntax fdor alias_maps is "name: address,..." Note the colon. - The key for alias_maps is a localpart, not user@domain. What you want to do: Use separate tables for alias_maps and virtual_alias_maps. In alias_maps: devnull: /dev/null In virtual_alias_maps: donotreply@some.domain devnull@localhost Assuming that localhost is listed in $mydestination. Wietse