[exim] smarthosts

Top Page
Delete this message
Reply to this message
Author: Brent Clark
Date:  
To: exim-users
Subject: [exim] smarthosts
Hi all

i have a virtual domain / routers setup, but now i need to forward the mail
to another machine. If someone would be so kind to help, I would be great.

The problem i have its is that, if i deliberately send a supposed to be an
unrouteable address, it still gets caught by the smart host routers.

vdom_aliases:
debug_print = "R: vdom_aliases for $local_part@$domain"
driver = redirect
allow_defer
allow_fail
domains = dsearch;/etc/exim4/virtual_directory
data =
${expand:${lookup{$local_part}lsearch*@{/etc/exim4/virtual_directory/$domain}}}
retry_use_local_part
pipe_transport = address_pipe
file_transport = address_file
# not no_more - we try again without the suffix

smarthost_storagehub_user:
debug_print = "R: hub_user for $local_part@$domain"
driver = redirect
senders = root@localhost : root@??? :
brentgclark@??? :
domains = +local_domains
data = ${local_part}@???
redirect_router = smarthost_storagehub_user_smarthost

smarthost_storagehub_user_smarthost:
debug_print = "R: hub_user_smarthost for $local_part@$domain"
driver = manualroute
senders = root@localhost : root@??? :
brentgclarklist@??? :
domains = eccostorage.eccotours.local
transport = remote_smtp_smarthost
route_list = * eccostorage.eccotours.local byname
host_find_failed = defer
same_domain_copy_routing = yes

If someone can help, it would really appreciate it.

Kind Regards
Brent Clark