[exim] Question LDAP verify then to a deferred queue

Pàgina inicial
Delete this message
Reply to this message
Autor: Carinus Carelse
Data:  
A: exim-users
Assumpte: [exim] Question LDAP verify then to a deferred queue
I have the LDAP lookup part working perfectly. No I have a question. I

want the ldap part the verify the address extract the mailHost first
then put it in a deferred queue where it can be picked upped and scanned

and then dropped into an active queue. How I can I do this?

My ldap query is :

ldap_user:
driver = redirect
domains = domain.com
allow_defer
data = ${lookup ldap
{ldap://ldap.domain.com/o=int,o=msp?uid,mailhost?sub?\
(|(mail=$local_part@$domain)(mailAlternateAddress=$local_part@$domain))}{$value}fail}

condition = ${if match {$local_part}{extract{uid}{$address_data}}}
redirect_router = defer_router

defer_router:
        driver = redirect
        allow_defer
        data = :defer: All deliveries are deferred
        verify = false




Carinus