postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: How can i test my local_recipient_maps

Re: How can i test my local_recipient_maps

From: Wietse Venema <wietse_at_nospam>
Date: Wed Oct 27 2010 - 00:47:42 GMT
To: jeffrey j donovan <donovan@beth.k12.pa.us>

jeffrey j donovan:
> greetings
>
> How can I test my local recipient map. Im looking for something similar to a " postmap -q userz@example.com hash:/etc/postfix/myfile "
>
> here is my map statement.
> local_recipient_maps = proxy:unix:passwd.byname $alias_maps
>
> this doesn't work
> postmap -q dvader@example.com proxy:unix:passwd.byname

It does not work, because the local delivery agent does not
use the domain.

        Wietse

> i want to see the query result. how do I do that?
> tia
>
> -j
>
>
>