[Exim] .forward replaced with mysql field.. Not working 100%

Top Page
Delete this message
Reply to this message
Author: linuxinfo
Date:  
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



Transporters:

address_pipe:
        driver = pipe
        return_output


#
address_file:
        driver = appendfile
        delivery_date_add
        envelope_to_add
        return_path_add


#
address_reply:
        driver = autoreply


Many thanks ..