Re: [exim] Exim4 and Wildcard Delivery

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: MarcSchoechlinmslists
Υ/ο: exim-users
Αντικείμενο: 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}}