On 4/15/2015 1:11 PM, Noel Jones wrote:
> On 4/15/2015 12:50 PM, Michel Blancard wrote:
>> Hi all,
>>
>> I've spent a lot of time trying to configure virtual aliases.
>> Command 'postmap -q "[email protected]" /etc/postfix/virtual" always
>> returns the first result after just one aliasing, even if a second
>> alias is matching. Here is an example :
>
> The postmap test tool does not implement recursive lookups as used
> by eg. virtual alises, nor does it implement subkey lookup as used
> by eg. access maps.
>
>
>
>
> -- Noel Jones
>
Forgot to mention this is documented in the postmap(1) man page:
...
-q key Search the specified maps for key and write the
first value
found to the standard output stream. The exit status
is zero
when the requested information was found.
...