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: donovan jeffrey j <donovan_at_nospam>
Date: Wed Oct 27 2010 - 01:16:57 GMT
To: Wietse Venema <wietse@porcupine.org>

On Oct 26, 2010, at 8:47 PM, Wietse Venema wrote:

> 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

Thank you sir

postmap -q dvader proxy:unix:passwd.byname

worked like a champ.
-j