Catch-all mail server for test environment
On Wed, Oct 22, 2008 at 11:29 PM, Boyd Stephen Smith Jr. <email@example.com> wrote:
On Wednesday 22 October 2008, "Ketil Froyn" <firstname.lastname@example.org> 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).
Actually, it was even simpler. I just set up a system filter with a "deliver email@example.com" line, and now all mail is sent there instead.
Thanks for the help. :-)