On Tue, 12 Jul 2005 [EMAIL PROTECTED] 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. [EMAIL PROTECTED])

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 = [EMAIL PROTECTED]

Tony.
-- 
<[EMAIL PROTECTED]>   <[EMAIL PROTECTED]>   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}}

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to