> On Jan 15, 2017, at 2:23 PM, Richie Rich <canongu...@gmail.com> wrote: > > I'm sorry Viktor, but it seems I didn't make my goal clear. Here it is again > restated.
No need, I understood what you wanted the first time. > I have tested using canonical_maps where: > u...@domainb.com u...@example.com This is the correct approach > This seems to do what I need it to do, though once I spend > some time with it I may need to check out regexp_table. > Thankfully I'm no stranger to regexes :) Save yourself the time and DO NOT go there. Regular expression mappings break recipient validation when used in canonical_maps (on input). If used on gateway relay, they can safely be used on output in smtp_generic_maps, but then your recipient validation still has to deal with all the variant addresses on input in some manner. So it is best to do the work just once in canonical_maps, without any regex wildcards. -- Viktor.