On Wednesday 22 October 2008, "Ketil Froyn" <ketil@froyn.name> wrote
about 'Catch-all mail server for test environment':
>Any tips on the best way to achieve this with Debian? And maybe exim,
> which is the installed mta?
I'm not that expierenced with exim, but it seems entirely capable. My
first attempt at what you are trying would probably look like this:
Use debconf to setup the system as a normal internet-connected host, making
sure to allow relaying for the entire internet (something like 0.0.0.0/0
might work). Then change your dnslookup_relay_to_domains router to use a
different transport (e.g. maildir_home OR LOCAL_DELIVERY).