Hide Forgot
Created attachment 1207498 [details] patch Description of problem: Suppose you have two lookup tables listed in canonical_maps and each of these tables uses all three pattern types (user@domain, user, @domain). Then Postfix looks for a match when rewriting addresses in the following order: Look for a match of: - user@domain in the first table - user@domain in the second table - user in the first table - user in the second table - @domain in the first table - @domain in the second table However, the documentation could be misunderstood and one might think the search order is the following: Look for a match of: - user@domain in the first table - user in the first table - @domain in the first table - user@domain in the second table - user in the second table - @domain in the second table I'm attaching a patch (taken from upstream), which fixes the documentation.
VERIFIED with postfix-2.10.1-7.el7.x86_64 The patch has applied successfully.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3085