Hi,

I need some help configuring canonical maps.

Suppose you have two lookup tables listed in canonical_maps and each of these tables uses all three pattern types (user@domain, user, @domain). Now from what I see 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

Is there a way to make Postfix do the lookup in the following order instead?

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

Thanks.

Ondra

Reply via email to