Re: [exim] Exim virtual router config

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Marc Sherman
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Exim virtual router config
Craig Schneider wrote:
> 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:
> 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@???


Well, there you go: your /etc/mail/woodcity.co.za doesn't have garye
pointing to any redirect item, which is a requirement for a redirect
router. The file should be of the form:

localpart: redirectitem

See chapter 22 of the spec for more information.
http://exim.org/exim-html-4.62/doc/html/spec_html/ch22.html

- Marc