Re: [exim] Deliver mail to a remote mailserver after virus- …

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: Lasse
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Deliver mail to a remote mailserver after virus- and spam control
On Wed, 22 Jun 2005, Lasse wrote:

> I want to check virus and spam on my mailserver for a client, but
> then deliver all the mail for their domain to their local mailserver.
>
> Could someone give me a hint what to put in my configuration
> file to make this happen?


Use a manualroute router like

special_routes:
  driver        = manualroute
  domains         = !+local_domains
  host_find_failed    = defer
  route_data        = ${lookup {$domain} cdb {DB/special_routes.cdb} }
  same_domain_copy_routing
  transport        = smtp


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}}