[exim] ldap lookup and verification

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Anton Antonov
Data:  
Para: exim-users
Asunto: [exim] ldap lookup and verification
Hi all,

    I would like to deliver some emails to MS Exchange (in addition to 
Cyrus-IMAP which we are using for a few years) with our exim 4.69. I 
created a router exactly as explained here 
http://wiki.exim.org/MsExchangeAddressVerification


Now I have a problem. If I add a "no_verify" parameter to this router
then it works fine for delivery - email will be sent to an exchange if
an account exist there and to cyrus if an account exists there. But, if
I remove the "no_verify" parameter then verification always fails
(Unrouteable address) regardless of existence of an account in exchange
or cyrus. How this can be fixed?


Here is a part of my exim.conf

exchange_check:
driver = redirect
allow_fail
allow_defer
forbid_file
forbid_pipe
redirect_router = send_to_exchange
data = ${lookup ldap {LDAP_AD_MAIL_RCPT} {${local_part}@${domain}} }
# no_verify
unseen


# This router matches local user cyrus mailboxes.
localuser_cyrus:
driver = accept
require_files = IMAP_ROOT/user/$local_part/cyrus.header
transport = local_cyrus_delivery


--
Anton Antonov
System Administrator

DANTE - www.dante.net