Wietse Venema:
> Marek Kozlowski:
> [ Charset ISO-8859-2 converted... ]
> > On 09/29/2014 08:30 PM, Wietse Venema wrote:
> > > Marek Kozlowski:
> > >> Maybe a stupid question...
> > >> I'd like to allow incoming (or local) mail only addressed to aliases
> > >> specified in `vitual_alias_maps' and `alias_map' but reject recipient
> > >> addresses using user names.
> > > 
> > > /etc/postfix/main.cf:
> > >     local_recipient_maps =
> > 
> > 
> > Do you mean:
> > 
> >     local_recipient_maps = $vitual_alias_maps, $alias_maps
> 
> No. I mean what I wrote.

However this disables the "unknown recipient" check, so use
instead a table that is empty.

/etc/postfix/main.cf:
    local_recipient_maps =  hash:/etc/postfix/empty

/etc/postfix/empty
    # nothing here

That is, a table with no content.

        Wietse

Reply via email to