Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can i test my local_recipient_maps

314 views
Skip to first unread message

jeffrey j donovan

unread,
Oct 26, 2010, 8:43:41 PM10/26/10
to
greetings

How can I test my local recipient map. Im looking for something similar to a " postmap -q us...@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 dva...@example.com proxy:unix:passwd.byname

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

-j

Jeroen Geilman

unread,
Oct 26, 2010, 8:47:01 PM10/26/10
to

Drop the proxy: part.

--
J.

Wietse Venema

unread,
Oct 26, 2010, 8:47:42 PM10/26/10
to
jeffrey j donovan:

> greetings
>
> How can I test my local recipient map. Im looking for something similar to a " postmap -q us...@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 dva...@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
>
>
>

donovan jeffrey j

unread,
Oct 26, 2010, 9:16:57 PM10/26/10
to

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 us...@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 dva...@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

0 new messages