Michel Blancard: > Hi all, > > I've spent a lot of time trying to configure virtual aliases. Command > 'postmap -q "whate...@i.try" /etc/postfix/virtual" always returns the > first result after just one aliasing, even if a second alias is > matching. Here is an example : ... > I think the problem is obvious for an experienced eye, however I cannot > understand why the recursion is not happening.
Different Postfix features have different query patterns. For example, the virtual(5) manpage describes all the queries that the virtual_alias_maps feature implements, and the access(5), canonical(5), transport(5), etc., manpages describe other query patterns. The postmap command does not attempt to duplicate these patterns. It makes one non-recursive query. You will need to use the description in the virtual(5) manpage and follow the pattern descriped there. Wietse