We have a test environment which is pretty much a copy of the production environment for our Web applications.
In the past email addresses of customer data were scrubbed to avoid emails from test systems getting out into the wild. But our testers tell us that they would want to keep those email address unique, i.e. perfectly mapped to the real ones.
I thought that a usable method to scrub without losing information would be to remove all dots in the email address and then attach ".somewordlongerthanfourcharacters" to the computer part of the address. That would allow testers to know the real address of the customer ("firstname.lastname@example.org -> email@example.com") plus we could set up an internal server named "someword" and have it receive emails for all subdomains of "someword".
Is that a useful idea or are there better methods to achieve this? Should I use a reserved test domain or something like that?