Re: [exim] Exim virtual router config

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Craig Schneider
Datum:  
To: exim-users
Betreff: Re: [exim] Exim virtual router config
domainlist virtual_domains = woodcity.co.za

Routers

virtual:
driver = redirect
domains = +virtual_domains
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/mail/$domain}}
# redirect_router = localuser
# no_more

smarthost:
driver = manualroute
#domains = ! +local_domains
transport = remote_smtp
route_data = smtp.saix.net
#ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
#no_more

exim -d -bt output:

> garye
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Testing garye@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering garye@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing garye@???
--------> virtual router <--------
local_part=garye domain=woodcity.co.za
checking domains
woodcity.co.za in "woodcity.co.za"? yes (matched "woodcity.co.za")
woodcity.co.za in "+virtual_domains"? yes (matched "+virtual_domains")
calling virtual router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/mail/$domain}}
search_open: lsearch "/etc/mail/woodcity.co.za"
search_find: file="/etc/mail/woodcity.co.za"
key="garye" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/mail/woodcity.co.za
End
internal_search_find: file="/etc/mail/woodcity.co.za"
type=lsearch key="garye"
file lookup required for garye
in /etc/mail/woodcity.co.za
lookup yielded:
expanded:
file is not a filter file
parse_forward_list:
virtual router declined for garye@???
--------> smarthost router <--------
local_part=garye domain=woodcity.co.za
calling smarthost router
smarthost router called for garye@???
domain = woodcity.co.za
original list of hosts = "smtp.saix.net" options =
expanded list of hosts = "smtp.saix.net" options =
set transport remote_smtp
finding IP address for smtp.saix.net
doing DNS lookup
DNS lookup of smtp.saix.net (A) succeeded
fully qualified name = smtp.saix.net
smtp.saix.net 196.25.240.94 mx=-1 sort=-141
queued for remote_smtp transport: local_part = garye
domain = woodcity.co.za
errors_to=NULL
domain_data=NULL localpart_data=NULL
routed by smarthost router
envelope to: garye@???
transport: remote_smtp
host smtp.saix.net [196.25.240.94]
garye@???
router = smarthost, transport = remote_smtp
host smtp.saix.net [196.25.240.94]
>



________________________________

From: exim-users-bounces@??? on behalf of Marc Sherman
Sent: Wed 2006/05/10 12:39 PM
To: exim-users@???
Subject: Re: [exim] Exim virtual router config



Craig Schneider wrote:
>
> Unfortunately this doesn't seem to be work. Everything gets sent to
> the smarthost :(
>
> Any assistance would be welcome.


Repost your config without obfuscation, along with a -d -bt delivery
test to an address on the local delivery list to see what happens.

- Marc

--
## 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/