I'm on the road today and tomorrow but will look at this when I get back to the office on Friday.
Quick question re Postfix... Why are you doing a postmap on a pcre table? It's just a lookup table so no .db file needed, right? See Postfix manual - pcre_table(5) for example.
All the best,