Re: [Exim] exim4....

Top Page
Delete this message
Reply to this message
Author: Chris Knipe
Date:  
To: Chris Knipe, exim-users
Subject: Re: [Exim] exim4....
nm...

Think I found it...

----- Original Message -----
From: "Chris Knipe" <savage@???>
To: <exim-users@???>
Sent: Friday, February 21, 2003 5:24 AM
Subject: [Exim] exim4....


> Lo,
>
> I'm having a bit of a issue converting my exim3 director to exim4's

router..
>
> In Exim3, I used:
>
> localuser:
>   driver = aliasfile
>   one_time
>   forbid_file
>   forbid_include
>   forbid_pipe
>   search_type = mysql
>   query = SELECT Username FROM UserAccounts RIGHT JOIN DNSZones ON \
>           UserAccounts.ZoneID=DNSZones.ZoneID WHERE
> DNSZones.ZoneName='${quote:$domain}' AND \
>           UserAccounts.Username='${quote:$local_part}' LIMIT 1;
>   transport = local_delivery

>
> This was used to verify the existence of a $local_part in my virtual

setup.
> It worked absolutely wonderful. Now, with Exim4, I cannot seem to find

the
> right driver to accommodate this... It must exist.. I'm just not sure how

to
> do it...
>
> I have:
> localuser:
>   driver = redirect
>   data = ${lookup mysql{SELECT Username FROM UserAccounts RIGHT JOIN
> DNSZones \
>                         ON UserAccounts.ZoneID=DNSZones.ZoneID WHERE \
>                         DNSZones.ZoneName='${quote:$domain}' AND \
>                         UserAccounts.Username='${quote:$local_part}' LIMIT
> 1;}}
>   domains = +local_domains
>   group = exim
>   headers_add = X-Delivered-by: $primary_hostname\n
>   transport = local_delivery

>
> However, the redirect router fails, complaining that I am not able to
> specify a transport for the driver (Wonderful. I can't get it to save my
> email to the advance storing system I use). Then, I tried the accept
> router, and low blow.. It doesn't accept the data part...
>
> So, just how do I rewrite that Exim3 director now?? :((( I'm merging
> Exim3.36 to Exim4.10 btw...
>
> --
> me
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim

details at http://www.exim.org/ ##
>