The tests have been done in both 2.6.6 and 3.0.2

We've been using canonical_maps for over a decade
without a hitch, but recently came across a situation
where an account is referenced in both mapping files.

canonical_maps =
hash:/etc/postfix-internal/lowercase,hash:/etc/postfix-internal/genericstable

We have student accounts beginning with a number and ending
with a letter.  We'd like to map any uppercase to lowercase
so this appears uniform for all places this account is used.
So we have a lowercase mapping file:

123456A   [email protected]

The account might also have an alias for a more personal name
we want to rewrite, so it is kept in genericstable:

123456a [email protected]

In testing, I found email sent from the 123456a test account (already lowercase)
will not be mapped to [email protected]
If I removed the use of lowercase file from canonical_maps,
the mapping to [email protected] works properly.

These are two different files as they are auto-generated.  Is the only
solution to concatenate?

Reply via email to