> -----Original Message-----
> From: linuxinfo@??? [mailto:linuxinfo@linuxpro.co.za]
> Sent: Wednesday, July 16, 2003 9:38 AM
> To: exim-users@???
> Subject: [Exim] .forward replaced with mysql field.. Not working 100%
>
> Please could someone have a look and see why userforward: router is
not
> routing mail when i set test='deliver greg@???' for a test
> account, is does not forward the mail to greg@???.
>
> There are no errors when the router to processed ..
>
> so i'm not sure what i have wrong ..
>
>
> # Router
> userforward:
>
> driver = redirect
> check_local_user
> no_verify
> no_expn
> check_ancestor
> # allow_filter
> data = ${lookup mysql {SELECT test FROM users WHERE
> domainname='$domain' AND \
username='local_part'}}
> file_transport = address_file
> pipe_transport = address_pipe
> reply_transport = address_reply
First thing that springs to mind is that 'local_part' should be
'$local_part' if you want Exim to actually expand it to anything...
Otherwise you're going to be looking up local_part@??? in your
database. Tracing the SQL call would verify that for sure..
-Steve