Re: [exim] How to test new configuration file

Top Pagina
Delete this message
Reply to this message
Auteur: Ted Cooper
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] How to test new configuration file
Wolfgang Schauer wrote:
> exim_testing:
>    driver = manualroute
>    transport = remote_smtp
>    route_list = * host.address.of.test.box
>    unseen

>
> the mail with a 5xx because of e.g. spam.
>
> Is there a way to tell the productive exim to ignore the 5xx return code
> when forwarding mails? Or, more in general, how to you guys test new
> configurations on "real life" mails?


You can get rid of your problem here by using the "errors_to" option on
the router. Set it to an email address on one of your internal domains
that is specially configured to accept everything without any checks.

A better solution is to take a subset of your "real mail" and move it
over to closed test network containing your testing server as the
destination and a source server pretending it's the rest of the
internet. You can setup wildcard DNS all pointing to the source server
so that your test rig thinks it's really on the net.
Make sure the subset includes all the test cases you want to test and
then .. let it loose.

Best part about that setup is you can reset it and run the entire lot
though again just to make sure nothing broke with the last edit.

Ted

--
The Exim Manual
http://www.exim.org/docs.html
http://docs.exim.org/current/