Re: [exim] Exim4 and Wildcard Delivery

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: MarcSchoechlinmslists
CC: exim-users
Subject: Re: [exim] Exim4 and Wildcard Delivery
On Tue, 12 Jul 2005 MarcSchoechlinmslists@??? wrote:
>
> - The mailserver accepts mail for any possible domain
> (sender ips should be limited)
> - The mailserver receives mail for any possible localname
> - The mailserver bounces any accepted mail to
> a dedicated mail-adress on another mailserver
> (.i.e. mymailtestbox@???)


Take the default configuration file. Add your list of sending IP addresses
to relay_from_hosts. Remove the two accept domains = ... clauses from the
ACL. Remove all the routers and replace them with:

destination:
driver = accept
local_parts = mymailtestbox
domains = foo.com
transport = remote_smtp

redirect:
driver = redirect
data = mymailtestbox@???

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}