>By definition you can't have that in a hashed file, *SQL database, or LDAP. 
>Other Postfix lookup tables such as regexp or pcre will return the first 
>match, as documented.

Come to think about it. That makes sense. Sorry about that.

So, in the meantime, a dirty workaround is to do it like this then

1. Make sure the transport-map indata file is created in such a fashion that 
the entries from the "new" mail server is written "first" to the file
2. Do _not_ use the -r option to postmap.
3. Ignore the warnings about dublicate entries, until such a time that the old 
mail server has been completely archived and decommissioned.

After dumping the resulting db-file it would appear that this method (dirty as 
it may be) only leaves the entry from the "new" mail server in the transport 
map.

Reply via email to